Re: where to write small reusable functions ?

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Cc: "Dany DeBontridder" <dany118(at)gmail(dot)com>
Subject: Re: where to write small reusable functions ?
Date: 2007-04-13 12:55:55
Message-ID: 200704131455.55416.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Dany DeBontridder 2007-04-13 13:02:28 Re: where to write small reusable functions ?
Previous Message NikhilS 2007-04-13 12:51:12 Re: where to write small reusable functions ?