using the same name for a related table, function, trigger

Поиск
Список
Период
Сортировка
От Jules Alberts
Тема using the same name for a related table, function, trigger
Дата
Msg-id 200201211337.g0LDbsLs006921@artemis.cuci.nl
обсуждение исходный текст
Ответы pgaccess  (lee johnson <lee@imyourhandiman.com>)
Список pgsql-novice
hello everyone,

in a database i have a table with one related function, and a trigger
that calls this function each time a row in the table is updated. at
first i wanted to use names like foo (the table), foo_fuction and
foo_trigger, but it seems much easier to create a table, function and
trigger all called "foo".

postgresql (7.1.3) lets me do this, but is it safe? will this give me
trouble in future releases, or perhaps even in the current one?

TIA

--
Jules Alberts.

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

Предыдущее
От: Bo Lorentsen
Дата:
Сообщение: Re: one pl/pgsql question
Следующее
От: Mark Hesketh
Дата:
Сообщение: Declaring constants in PG/PLSQL