Tom Lane wrote:
>
> Hmm ... that's interesting, why does that work? My guess is that the
> CommandCounterIncrement() after the CREATE TABLE causes the SI code
^^^^^^^^^^^^^^^^^^^^^^^^^
It's called in the case of
create table bug1 (f1 int28 primary key);
too (after CREATE TABLE and before CREATE INDEX)...
> to take responsibility for bug1's pg_class row even though it's not
> truly committed. However,
Vadim