using the same name for a related table, function, trigger - Mailing list pgsql-novice

From Jules Alberts
Subject using the same name for a related table, function, trigger
Date
Msg-id 200201211337.g0LDbsLs006921@artemis.cuci.nl
Whole thread Raw
Responses pgaccess  (lee johnson <lee@imyourhandiman.com>)
List 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 by date:

Previous
From: Bo Lorentsen
Date:
Subject: Re: one pl/pgsql question
Next
From: Mark Hesketh
Date:
Subject: Declaring constants in PG/PLSQL