Re: [PATCHES] Forcing current WAL file to be archived

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCHES] Forcing current WAL file to be archived
Дата
Msg-id 19358.1155670145@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [PATCHES] Forcing current WAL file to be archived  ("Jim C. Nasby" <jnasby@pervasive.com>)
Ответы Re: [PATCHES] Forcing current WAL file to be archived  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
"Jim C. Nasby" <jnasby@pervasive.com> writes:
> True, but making people parse the output of a function to seperate the
> two fields seems pretty silly. Is there some reason why
> pg_xlogfile_name_offset shouldn't be a SRF, or use two out parameters?

It'd definitely be nicer that way, but given the current limitations of
bootstrap mode I see no non-kluge way to make a built-in function have
OUT parameters.  (Hint: array_in doesn't work in bootstrap mode.)
And the other alternatives like a predefined complex type seem even
more painful.  If you can think of a way to do this that has pain
not out of proportion to the gain, then I'm all for it ...

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [PATCHES] Custom variable class segmentation fault
Следующее
От: Tom Lane
Дата:
Сообщение: Re: insert/update/delete returning and rules