Search Postgresql Archives
Foreign Key error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: pgsql-general@xxxxxxxxxxxxxx
- Subject: Foreign Key error
- From: "Jasbinder Singh Bali" <jsbali@xxxxxxxxx>
- Date: Tue, 12 Jun 2007 15:49:26 -0400
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=FLig6vsT2LJmQ3dkLqkpjskltyc90D0sFQP3Jw/U8tphR7JuVqe4hNYMXY2YoR3cs+LZq+yP7GLya5+ugBJtj9wAYE/IGIY0VYg92MpV12zw1t+nILAnDDiD4fKUb5MgaZjG/mf3YrN/aVvK64J2PW6+vhM5ILZ90v+gbjEt0qc=
Hi,
I have a Pl/Perlu function in which I have written an insert statement in tbl_xyz.
If there's not foreign key in this table, insert works fine.
As soon as i make one of its fields refer to tbl_abc i.e field a in tbl_xyz refering to
field a in tbl_abc, insert fails.
Now the problem is, I can't see the actual error, i mean the place where it fails.
Is there any way by which I can include a few lines of code that would log any error in a file
whenever the insert fails.
Thanks,
~Jas
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]
[Postgresql Jobs]
[Postgresql Admin]
[Postgresql Performance]
[Linux Clusters]
[PHP Home]
[PHP on Windows]
[Kernel Newbies]
[PHP Classes]
[PHP Books]
[PHP Databases]
[Postgresql & PHP]
[Yosemite]