Re: where to write small reusable functions ? - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: where to write small reusable functions ?
Date
Msg-id 200704131455.55416.peter_e@gmx.net
Whole thread Raw
In response to where to write small reusable functions ?  ("Dany DeBontridder" <dany118@gmail.com>)
List pgsql-hackers
Am Freitag, 13. April 2007 14:28 schrieb Dany DeBontridder:
> But, in that case, those functions are only usable for pg_dump, what about
> the rest of code ? We don't have a central location for those small
> reusable snippets of code ?

The main point of these functions is to catch errors and exit the program.  
But that behavior is very program-dependent, so I don't think it'd be useful 
to put them in a central location.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


pgsql-hackers by date:

Previous
From: NikhilS
Date:
Subject: Re: where to write small reusable functions ?
Next
From: "Dany DeBontridder"
Date:
Subject: Re: where to write small reusable functions ?