Re: Self-referential records

From: Peter Geoghegan <peter(dot)geoghegan86(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Self-referential records
Date: 2010-01-24 15:02:47
Message-ID: db471ace1001240702r2bbbc2b9qd4443437db087258@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

What is the preferred way to enforce that there is at least one orphan
record if any at all, and that a record is not a Marty McFly type
descendent of itself? I would suggest that a statement level after
trigger is the way to go, but I myself have never actually had to
enforce this.

Regards,
Peter Geoghegan

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Andreas Kretschmer 2010-01-24 15:13:34 Re: Self-referential records
Previous Message Robert Haas 2010-01-24 14:54:21 Re: [HACKERS] Sugerencia de opcion