| От | Adrian Klaver |
|---|---|
| Тема | Re: How to manipulate field in New record |
| Дата | |
| Msg-id | bc247a58-0530-0cf6-e91c-e829f1db9001@aklaver.com обсуждение |
| Ответ на | How to manipulate field in New record (Lorusso Domenico <domenico.l76@gmail.com>) |
| Ответы |
Re: How to manipulate field in New record
|
| Список | pgsql-general |
On 6/7/23 05:12, Lorusso Domenico wrote: > Hello, > Looking for a global solution I've write e trigger function that as > optional parameter (argv[0]) receive the name of a specific parameter. > > My need is to get the filed from NEW and OLD record manipulate and set > back the field with new value. A new row won't have the OLD RECORD. Read: https://www.postgresql.org/docs/current/plpgsql-trigger.html and look at the examples. > > Problem 1: how to get and set this field > Problem 2: the field has Composit type -- Adrian Klaver adrian.klaver@aklaver.com
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера