David Fetter <david@fetter.org> writes:
> I've written up a patch intended to implement this on the
> non-pg_catalog tables and VIEWs, but while it builds, it doesn't
> initdb. Enclosed are the patch and the error log.
> Any hints as to what I might look at?
> creating template1 database in /var/lib/pgsql/pgsql/src/test/regress/./tmp_check/data/base/1 ... ok
> initializing pg_authid ... ok
> initializing dependencies ... ok
> creating system views ... ok
> loading system objects' descriptions ... FATAL: cache lookup failed for type 11096
> child process exited with exit code 1
That step of initdb creates a TEMP table ... maybe your patch doesn't
work for temp tables? Anyway, you're certainly far enough along there
that you could fire up the postmaster and reproduce the error in a
normal debugging environment.
regards, tom lane