2010/7/4 Merlin Moncure <mmoncure@xxxxxxxxx>: > On Sun, Jul 4, 2010 at 7:25 AM, Andre Lopes <lopes80andre@xxxxxxxxx> wrote: >> Great! That [begin exception end] is what I need! >> >> Thank you Pavel. >> >> Best Regards, > > Just a quick heads up: functions with exception handlers tend to be > more expensive than those without, even if the exception doesn't fire. yes, better to use prepared statement and read diagnostics info from PHP Pavel > > merlin > -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general