Re: good exception handling archiecutre

From: <Atul(dot)Goel(at)globaldatapoint(dot)com>
To: <avbidder(at)fortytwo(dot)ch>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: good exception handling archiecutre
Date: 2010-08-17 08:54:46
Message-ID: 418EC9BD4D7125488CCAC5C7C559A2480CCB63@MS10.lsc.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi VBI,

DBLINK was a great idea. I have written the code to do that and it works perfectly.

Regards,
Atul Goel

-----Original Message-----
From: pgsql-general-owner(at)postgresql(dot)org [mailto:pgsql-general-owner(at)postgresql(dot)org] On Behalf Of Adrian von Bidder
Sent: 16 August 2010 12:27
To: pgsql-general(at)postgresql(dot)org
Subject: Re: [GENERAL] good exception handling archiecutre

Heyho!

[[ logging from postgres ]]

I think you can use dblink to do this - everything you do via dblink happens in a separate db session and so it shouldn't be affected by what happens in your transaction.

Depending on your requirements, system resources may be an issue though (you're opening a full additional db session.)

cheers
-- vbi

--
Although this syntax is required by the SQL standard, it's not clear what the standard expects it to do, except that it's most likely not what we were doing.
-- PostgreSQL 8.3 release notes
This e-mail is confidential and should not be used by anyone who is not the original intended recipient. Global DataPoint Limited does not accept liability for any statements made which are clearly the sender's own and not expressly made on behalf of Global DataPoint Limited. No contracts may be concluded on behalf of Global DataPoint Limited by means of e-mail communication. Global DataPoint Limited Registered in England and Wales with registered number 3739752 Registered Office Middlesex House, 34-42 Cleveland Street, London W1T 4LB

In response to

Browse pgsql-general by date

  From Date Subject
Next Message zhong ming wu 2010-08-17 10:35:27 Re: Non-reentrant plperlu function & concurrent access
Previous Message Atul.Goel 2010-08-17 08:53:06 Re: good exception handling archiecutre