Re: default parameters for built-in functions

Поиск
Список
Период
Сортировка
От Gregory Stark
Тема Re: default parameters for built-in functions
Дата
Msg-id 874ox18ftl.fsf@oxford.xeocode.com
обсуждение исходный текст
Ответ на default parameters for built-in functions (was Re: Documentation Update: Document pg_start_backup checkpoint behavior)  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: default parameters for built-in functions  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane <tgl@sss.pgh.pa.us> writes:

> So I think that's out.  The only alternative that comes to mind is
> to have initdb issue an additional SQL command to establish the default
> after the bootstrap phase; that is, something like
>
> CREATE OR REPLACE FUNCTION
>   pg_start_backup(label text, fast boolean DEFAULT false)
>   RETURNS text LANGUAGE internal STRICT AS 'start_backup';
>
> in system_views.sql or some such place.

Well, not that this is appropriate at this moment, but I had been considering
proposing we do this to most of pg_proc and pg_operator. It's really quite a
pain to maintain these files manually, especially pg_operator.

--  Gregory Stark EnterpriseDB          http://www.enterprisedb.com Ask me about EnterpriseDB's On-Demand Production
Tuning


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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: 8.4 release notes proof reading 1/2
Следующее
От: Tom Lane
Дата:
Сообщение: Re: default parameters for built-in functions