Skip site navigation (1) Skip section navigation (2)

Re: Re: incorrect exit code from psql with single transaction + violation of deferred FK constraint

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Dominic Bevacqua <dominic(dot)bevacqua(at)bpmlogic(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Re: incorrect exit code from psql with single transaction + violation of deferred FK constraint
Date: 2010-03-09 00:47:19
Message-ID: 201003090047.o290lJL29052@momjian.us (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-hackers
Tom Lane wrote:
> Bruce Momjian <bruce(at)momjian(dot)us> writes:
> >> I thought some more about it and realized I had to check for the
> >> on-error-exit flag too. Updated patch attached.
> 
> > Applied.
> 
> Shouldn't that be back-patched?

Uh, well, it is going to change the behavior of back branches, and
because we only got one report of the bug which has existed since 8.2, I
didn't want to risk it.  Should I?

-- 
  Bruce Momjian  <bruce(at)momjian(dot)us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  PG East:  http://www.enterprisedb.com/community/nav-pg-east-2010.do

In response to

Responses

pgsql-hackers by date

Next:From: Tom LaneDate: 2010-03-09 00:55:27
Subject: Re: Re: incorrect exit code from psql with single transaction + violation of deferred FK constraint
Previous:From: Tom LaneDate: 2010-03-09 00:11:21
Subject: Re: invalid UTF-8 via pl/perl

pgsql-bugs by date

Next:From: Tom LaneDate: 2010-03-09 00:55:27
Subject: Re: Re: incorrect exit code from psql with single transaction + violation of deferred FK constraint
Previous:From: Tom LaneDate: 2010-03-09 00:09:26
Subject: Re: Re: incorrect exit code from psql with single transaction + violation of deferred FK constraint

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group