Re: Postgres Triggers issue

From: u235sentinel <u235sentinel(at)gmail(dot)com>
To: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
Cc: Andreas Kretschmer <akretschmer(at)spamfence(dot)net>, pgsql-general(at)postgresql(dot)org
Subject: Re: Postgres Triggers issue
Date: 2010-02-12 00:29:12
Message-ID: 4B74A0D8.3090701@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Adrian Klaver wrote:
>
>
> Well that would depend on any number of factors. Without information
> on how the feed is being done or more detailed logs it is hard to say
> for sure. At a guess though, I would say it is because the 'feed' is
> being done wrapped in a transaction and when the trigger errors it
> aborts the transaction.
>

From my perspective, I only see inserts when I select * from
pg_stat_activity. I'm told it's a jdbc connection (don't know much
about java myself) but it has been interesting to see that it's working
now. Still I did find it odd that the inserts stopped when the badly
written trigger was there

I appreciate the help :D

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Robert James 2010-02-12 01:20:59 Postgres standard versus Postgres Plus Advanced Server
Previous Message Greenhorn 2010-02-12 00:28:33 Re: left join count