X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id F140A5290D for ; Tue, 14 Jun 2005 02:46:58 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 58230-09 for ; Tue, 14 Jun 2005 05:46:56 +0000 (GMT) Received: from web11.manitu.net (web11.manitu.net [217.11.48.111]) by svr1.postgresql.org (Postfix) with ESMTP id 436305292E for ; Tue, 14 Jun 2005 02:46:55 -0300 (ADT) Received: from tschibtschibojtschitsch (dsl-084-059-066-072.arcor-ip.net [84.59.66.72]) (authenticated) by web11.manitu.net (8.10.2-SOL3/8.10.2) with ESMTP id j5E5km226493; Tue, 14 Jun 2005 07:46:48 +0200 Subject: Re: getting details about integrity constraint violation From: Markus Bertheau To: Greg Sabino Mullane Cc: pgsql-sql@postgresql.org In-Reply-To: <873b36387522e9a014ec0c75cbb63338@biglumber.com> References: <873b36387522e9a014ec0c75cbb63338@biglumber.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-kvflSIDRGZlvN8ZPHRgs" Date: Tue, 14 Jun 2005 07:46:49 +0200 Message-Id: <1118728010.7429.0.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.2.1.1 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200506/161 X-Sequence-Number: 21762 --=-kvflSIDRGZlvN8ZPHRgs Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Dnia 14-06-2005, wto o godzinie 03:39 +0000, Greg Sabino Mullane napisa=C5=82(a): > Simply name the table constraints yourself with a descriptive name, so yo= u > always know exactly what is going on: And then I keep a list of all the constraint names and scan the error message for it? Markus --=20 Markus Bertheau --=-kvflSIDRGZlvN8ZPHRgs Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQBCrm9I2RUnMPztcykRAkgCAJ0cr98Y+1VSAdOayKfRJyTFygZu4ACePDLV SUIfEY282ZLQ3y82ovlj1sI= =AFbX -----END PGP SIGNATURE----- --=-kvflSIDRGZlvN8ZPHRgs--