Feature request: DEFAULT as input value of function argument

Поиск
Список
Период
Сортировка
От Sergey Konoplev
Тема Feature request: DEFAULT as input value of function argument
Дата
Msg-id c3a7de1f0909020418l63bf4a15y1209063b39040245@mail.gmail.com
обсуждение исходный текст
Ответы Re: Feature request: DEFAULT as input value of function argument  (Sergey Konoplev <gray.ru@gmail.com>)
Список pgsql-hackers
Hi, community

The case:

E.g. I need to write a function that should do updates of a table. In
the function I have to specify necessary columns I need to update as
arguments and write update of the columns with this arguments.
Everything is ok but the case when I need to skip some column in
update to use DEFAULT value of the column.

IMHO convenient solution is to make possible to specify something like
COLUMN_DEFAULT as input value of function.

I wonder if it's possible.

-- 
Regards,
Sergey Konoplev
--
PostgreSQL articles in english & russian
http://gray-hemp.blogspot.com/search/label/postgresql/


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Dimitri Fontaine
Дата:
Сообщение: Re: Adding \ev view editor?
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: community decision-making & 8.5