Re: Schema version management

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Schema version management
Дата
Msg-id 14561.1342101680@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Schema version management  (Joel Jacobson <joel@trustly.com>)
Ответы Re: Schema version management  (Joel Jacobson <joel@trustly.com>)
Re: Schema version management  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Joel Jacobson <joel@trustly.com> writes:
> On Thursday, July 12, 2012, Tom Lane wrote:
>> What are you going to do with objects that don't have schemas?
>> (Including, but not restricted to, the schemas themselves.)

> Good question. Maybe something like this?

> For objects without schema:
> /global/[type]/[name].sql

> For objects with schema:
> /schema/[schema]/[type]/[name].sql

FWIW, I think you could save a level of naming if you were willing to
put the type first, since the type would imply whether the object
lives in a schema or not:
[type]/[name].sql[type]/[schema]/[name].sql
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Aidan Van Dyk
Дата:
Сообщение: Re: Synchronous Standalone Master Redoux
Следующее
От: Joel Jacobson
Дата:
Сообщение: Re: Schema version management