constants in PL/pgSQL - Mailing list pgsql-interfaces

From Marin Dimitrov
Subject constants in PL/pgSQL
Date
Msg-id 004e01c1d18d$d5315ae0$9b0e32d4@sirma.bg
Whole thread Raw
List pgsql-interfaces
Hi,

since PL/pgSQL does not have the notion of a package (like in Oracle's
pl/sql) I wander what you do when u need to define some constants that are
common for many PL/pgSQL functions?

right now I have to redefine common error messages/constants/etc again and
again in every function, which induces certain development overhead and will
make maintenance a nightmare

thanx,
   Marin

----
"...what you brought from your past, is of no use in your present. When
you must choose a new path, do not bring old experiences with you.
Those who strike out afresh, but who attempt to retain a little of the
old life, end up torn apart by their own memories. "





pgsql-interfaces by date:

Previous
From: Michael Meskes
Date:
Subject: Re: ARRAY
Next
From: Thomas Lockhart
Date:
Subject: Re: ecpg weird behavior