Re: good exception handling archiecutre - Mailing list pgsql-general

From
Subject Re: good exception handling archiecutre
Date
Msg-id 418EC9BD4D7125488CCAC5C7C559A2480CCB63@MS10.lsc.net
Whole thread Raw
In response to Re: good exception handling archiecutre  (Adrian von Bidder <avbidder@fortytwo.ch>)
List 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@postgresql.org [mailto:pgsql-general-owner@postgresql.org] On Behalf Of Adrian von Bidder
Sent: 16 August 2010 12:27
To: pgsql-general@postgresql.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'tbe 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'smost 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
DataPointLimited does not accept liability for any statements made which are clearly the sender's own and not expressly
madeon behalf of Global DataPoint Limited. No contracts may be concluded on behalf of Global DataPoint Limited by means
ofe-mail communication. Global DataPoint Limited Registered in England and Wales with registered number 3739752
RegisteredOffice Middlesex House, 34-42 Cleveland Street, London W1T 4LB 

pgsql-general by date:

Previous
From:
Date:
Subject: Re: good exception handling archiecutre
Next
From: zhong ming wu
Date:
Subject: Re: Non-reentrant plperlu function & concurrent access