Re: RFD: schemas and different kinds of Postgres objects
От | Bruce Momjian |
---|---|
Тема | Re: RFD: schemas and different kinds of Postgres objects |
Дата | |
Msg-id | 200201250433.g0P4XqD10470@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: RFD: schemas and different kinds of Postgres objects (Peter Eisentraut <peter_e@gmx.net>) |
Список | pgsql-hackers |
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
В списке pgsql-hackers по дате отправления: