Peter Eisentraut wrote:
> Tom Lane writes:
>
> > It'd be nice though if
> > the behavior could be changed after connection by a SET statement, which
> > would be lots easier if the setting were GUC-controlled. Peter, you see
> > any way to resolve that?
>
> We had a text[] field to pg_shadow and/or pg_database containing
> name=value assignments which are executed just before the session starts.
> Doesn't look terribly difficult, and it's something I've always wanted to
> do anyway.
So are thinking of "dbname=schema_type"? Seems this is really something
that should be in pg_database. If you create a database, who wants to
edit postgresql.conf to set its default schema type? Why not set the
GUC value from pg_database?
-- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610)
853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill,
Pennsylvania19026