ablilty to test record for foreign key before deleting the record?

From: Nathan Clark <nathanc(at)abcsinc(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: ablilty to test record for foreign key before deleting the record?
Date: 2005-11-15 16:52:30
Message-ID: 1132073550.27477.3.camel@javadev21
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Is there a way to check to see if a record has a foreign key, before I
try to delete a record ?
To check first to see if this record is tied to a foreign key before I
try to change it, thus avoiding
a foreign key error.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message josh@segrestfarms.com 2005-11-15 17:04:39 Restore a PG database in Windows
Previous Message john.bender 2005-11-15 16:44:51 subscribe