| From: | "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Will a DELETE violate an FK? |
| Date: | 2007-05-29 15:18:19 |
| Message-ID: | 20070529151818.GA3232@a-kretschmer.de |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
am Tue, dem 29.05.2007, um 10:48:21 -0400 mailte Robert James folgendes:
> I'd like to be able to detect if a record has associations. I don't want to
> actually delete it, just know if it could be deleted. (This is to build an
> intelligent menu on a GUI)
Set a savepoint, try to delete the record, catch an error if an error
occurs and rolled back.
>
> On 5/29/07, Albe Laurenz <all(at)adv(dot)magwien(dot)gv(dot)at> wrote:
And please, no top-posting.
Andreas
--
Andreas Kretschmer
Kontakt: Heynitz: 035242/47150, D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID: 0x3FFF606C, privat 0x7F4584DA http://wwwkeys.de.pgp.net
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Glaesemann | 2007-05-29 15:30:29 | Re: Languages and Functions |
| Previous Message | Ron Johnson | 2007-05-29 15:15:31 | Re: Rookie Questions: Storing the results of calculations vs. not? |