Support temporary setting of search path during CREATE SCHEMA; this
Tom Lane <tgl@sss.pgh.pa.us>
Support temporary setting of search path during CREATE SCHEMA; this allows the example in the CREATE SCHEMA ref page to actually work now. Also, clean up when the transaction that initially creates a temp-table namespace is later aborted. Simplify internal representation of search path by folding special cases into the main list.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/transam/xact.c | modified | +4 −1 |
| src/backend/catalog/namespace.c | modified | +210 −147 |
| src/backend/commands/schemacmds.c | modified | +15 −3 |
| src/backend/utils/adt/name.c | modified | +3 −3 |
| src/include/catalog/namespace.h | modified | +9 −3 |