From: Agustin Larreinegabe <alarreine(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject:
Date: 2013-09-06 12:12:05
Message-ID: CALQFU69+peorgnKsCnGucN+TGwpTnEgFM7hPgDC1ALwV9EwzQw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

Responses

  • Re: at 2013-09-06 12:31:45 from Serge Fonville

Browse pgsql-hackers by date

  From Date Subject
Next Message Serge Fonville 2013-09-06 12:31:45 Re:
Previous Message Hannu Krosing 2013-09-06 11:38:56 Re: [PERFORM] encouraging index-only scans