enforce naming convention

Поиск
Список
Период
Сортировка
От SunWuKung
Тема enforce naming convention
Дата
Msg-id 1145094934.715462.298290@v46g2000cwv.googlegroups.com
обсуждение исходный текст
Ответы Re: enforce naming convention  ("Greg Sabino Mullane" <greg@turnstep.com>)
Список pgsql-general
Hi,
is it possible to enforce naming convention in pg?

Can I create a trigger that runs when a new object is created and see
if its name is in an expected format and if not reject it?

I had to create a new schema 'zref' storing some of our tables to
conceptually separate them but I want to make sure that when we create
new tables we can't have the same table name in 'zref' and 'public'.

Thanks for the help.
Balázs


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

Предыдущее
От: Kari Pahula
Дата:
Сообщение: Re: Curious UDP packets
Следующее
От: "Greg Sabino Mullane"
Дата:
Сообщение: Re: enforce naming convention