| От | Tom Lane |
|---|---|
| Тема | Re: template1, can there be a template2/3/4? |
| Дата | |
| Msg-id | 6618.991678595@sss.pgh.pa.us обсуждение |
| Ответ на | template1, can there be a template2/3/4? (Jim Mercer <jim@reptiles.org>) |
| Ответы |
Re: template1, can there be a template2/3/4?
|
| Список | pgsql-general |
I wrote:
> Jim Mercer <jim@reptiles.org> writes:
>> where are these relations? is this a compile-time thing, or can it be done
>> on-the-fly?
> Compile-time; see SharedSystemRelationNames in
> backend/utils/init/globals.c. You'd have to do an initdb after changing
> it, anyway.
BTW, the reason that pg_shadow is installation-wide is that it's
not real clear what the 'ownership' column in pg_database means
if users are not installation-wide. Before cutting and hacking,
you'd need to think carefully about just what semantics you are
really after.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера