pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rod Taylor <pg@rbt.ca>
To: Jan Wieck <JanWieck@Yahoo.com>
Cc: Stephan Szabo <sszabo@megazone.bigpanda.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Enio Schutt Junior <enio@pmpf.rs.gov.br>
Cc: pgsql-sql@postgresql.org
Subject: Re: Sometimes referential integrity seems not to work
Date: Mon, 02 Feb 2004 13:44:10 -0500
Message-ID: <1075747450.308.100.camel@jester> (raw)
In-Reply-To: <401E80D2.9080909@Yahoo.com>
References: <20040126175147.B3BD046E09@mail.passofundo.rs.gov.br>
	<20040131124500.H98710@megazone.bigpanda.com>
	<9148.1075592448@sss.pgh.pa.us>
	<20040131214655.W11452@megazone.bigpanda.com>
	<401E80D2.9080909@Yahoo.com>

> TRUNCATE cannot be used inside of a transaction, and since 7.3 it checks 
> for foreign keys. So I guess Enio is getting but ignoring the error 

In 7.4 truncate is transaction safe.





view thread (10+ messages)  latest in thread

Message-ID: <1075747450.308.100.camel@jester>
Permalink:  ../1075747450.308.100.camel@jester/
Also on:    postgresql.org/message-id/1075747450.308.100.camel@jester

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: pg@rbt.ca, JanWieck@Yahoo.com, sszabo@megazone.bigpanda.com, tgl@sss.pgh.pa.us, enio@pmpf.rs.gov.br
  Subject: Re: Sometimes referential integrity seems not to work
  In-Reply-To: <1075747450.308.100.camel@jester>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox