Re: - Mailing list pgsql-hackers

From Serge Fonville
Subject Re:
Date
Msg-id CAOAS_++cNyLuLessYkVWWYEd2uhx851KmoxDJ_sEQFTMJnc32w@mail.gmail.com
Whole thread Raw
In response to  (Agustin Larreinegabe <alarreine@gmail.com>)
List pgsql-hackers
Hi Agustin,


> I want to know if exists a postgres function or some easy way to know if a PK in a table is already referenced  in another table/tables.
Unfortunately, this is not the correct mailing list.

Instead you should ask these types of questions on either NOVICE or GENERAL.
http://www.postgresql.org/community/lists/

HTH

Kind regards/met vriendelijke groet,

Serge Fonville

http://www.sergefonville.nl

Convince Microsoft!


2013/9/6 Agustin Larreinegabe <alarreine@gmail.com>
Hi everyone:

I want to know if exists a postgres function or some easy way to know if a PK in a table is already referenced in another table/tables.

e.g.
I want to delete a row but first I've got to change or delete in the table/tables where is referenced, and I have many table where could be referenced. 


pgsql-hackers by date:

Previous
From: Agustin Larreinegabe
Date:
Subject:
Next
From: Andres Freund
Date:
Subject: Re: [PERFORM] encouraging index-only scans