Jim Nasby <Jim(dot)Nasby(at)BlueTreble(dot)com> writes:
> What I went with. Now to figure out why this is happening...
> SELECT regnamespace('pg_catalog');
> ! ERROR: schema "Y" does not exist
> ! LINE 1: SELECT regnamespace('pg_catalog');
Confusion between a C string and a string Value node, mayhap?
regards, tom lane