Transaction Strategies for Natural Primary Keys & Cascading Updates

Поиск
Список
Период
Сортировка
От Richard Broersma
Тема Transaction Strategies for Natural Primary Keys & Cascading Updates
Дата
Msg-id 396486430909081526t19f548e3w476c54f9a375169c@mail.gmail.com
обсуждение исходный текст
Ответы Re: Transaction Strategies for Natural Primary Keys & Cascading Updates  (miller_2555 <nabble.30.miller_2555@spamgourmet.com>)
Список 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 по дате отправления:

Предыдущее
От: miller_2555
Дата:
Сообщение: Using symbolic links with tablespaces
Следующее
От: Scott Frankel
Дата:
Сообщение: where clauses and multiple tables