Transaction Strategies for Natural Primary Keys & Cascading Updates - Mailing list pgsql-general

From Richard Broersma
Subject Transaction Strategies for Natural Primary Keys & Cascading Updates
Date
Msg-id 396486430909081526t19f548e3w476c54f9a375169c@mail.gmail.com
Whole thread Raw
Responses Re: Transaction Strategies for Natural Primary Keys & Cascading Updates  (miller_2555 <nabble.30.miller_2555@spamgourmet.com>)
List pgsql-general
For those experienced using natural primary key designs,  what update
strategies do you use when updating related tuples within a
transaction when the primary key is also subject to changes?

For example consider a table is vertically partitioned into two or
more segments (all related on the natural primary key).  Allowing for
the primary key to be updated (and cascaded to the foreign keys), are
there any ways to updated all of the tuples in a single transaction
using the primary key in the where clause?

--
Regards,
Richard Broersma Jr.

Visit the Los Angeles PostgreSQL Users Group (LAPUG)
http://pugs.postgresql.org/lapug

pgsql-general by date:

Previous
From: miller_2555
Date:
Subject: Using symbolic links with tablespaces
Next
From: Scott Frankel
Date:
Subject: where clauses and multiple tables