Re: [GENERAL] Updating column on row update
От | Tom Lane |
---|---|
Тема | Re: [GENERAL] Updating column on row update |
Дата | |
Msg-id | 17135.1258933877@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: [GENERAL] Updating column on row update (Craig Ringer <craig@postnewspapers.com.au>) |
Ответы |
Re: [GENERAL] Updating column on row update
Re: [GENERAL] Updating column on row update |
Список | pgsql-hackers |
Craig Ringer <craig@postnewspapers.com.au> writes: > I do think this comes up often enough that a built-in trigger "update > named column with result of expression on insert" trigger might be > desirable. There's something of the sort in contrib already, I believe, though it's so old it still uses abstime :-( > So might "CREATE LANGUAGE ... IF NOT EXISTS". Maybe even "CREATE ROLE > ... IF NOT EXISTS" and "CREATE USER ... IF NOT EXISTS" - I know I'd find > them really handy. CREATE IF NOT EXISTS has been proposed and rejected before, more than once. Please see the archives. regards, tom lane
В списке pgsql-hackers по дате отправления: