Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
> CREATE TABLE foo (a int);
> for some unknown reason, an inval message involving relation foo seems
> to be emitted.
> heap_unfreeze(pg_class)
> CommandCounterIncrement()
> heap_unfreeze(pg_attribute)
> CommandCounterIncrement()
> ... insert the pg_attribute rows ...
Where did all these CommandCounterIncrement calls come from?
I don't think it's going to work if you are throwing in CCIs
at random places; this problem with the relcache will be the
least of your worries. Why do you think you need that anyway?
regards, tom lane