| От | Gregory Wood |
|---|---|
| Тема | Re: Triggers per transaction, workaround? prospects? |
| Дата | |
| Msg-id | 4041F308.9030701@ewebengine.com обсуждение исходный текст |
| Ответ на | Triggers per transaction, workaround? prospects? ("Karl O. Pinc" <kop@meme.com>) |
| Ответы |
Re: Triggers per transaction, workaround? prospects?
|
| Список | pgsql-general |
Karl O. Pinc wrote: > a per-person counter, which must not contain any 'gaps'. I can do this > so long as nobody every makes any mistakes > in sequencing, but once the sequence numbers are in place > there's no way to re-order the rows in a sequence > (the rows belonging to one person) without deleting > and re-creating all the rows with sequence numbers I can't answer your particular question, but you can always put an ON UPDATE CASCADE into your foreign keys... then if you *shudder* had to change those values, it should cascade out through all the attached rows in other tables. Greg
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера