Re: [PATCHES] Forcing current WAL file to be archived
От | Tom Lane |
---|---|
Тема | Re: [PATCHES] Forcing current WAL file to be archived |
Дата | |
Msg-id | 28660.1155762563@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: [PATCHES] Forcing current WAL file to be archived (Simon Riggs <simon@2ndquadrant.com>) |
Ответы |
Re: [PATCHES] Forcing current WAL file to be archived
|
Список | pgsql-hackers |
Simon Riggs <simon@2ndquadrant.com> writes: > Wise one: what should my pg_proc look like? > DATA(insert OID = 2850 ( pg_xlogfile_name_offset PGNSP PGUID 12 f f t f > i 1 2249 "25" "25 25 23" "i o o" _null_ pg_xlogfile_name_offset - > _null_ )); Oh, as far as that goes, the array columns need to look like something array_in will eat; and you should provide parameter names so that "select * from" will produce useful headings. So probably more like DATA(insert OID = 2850 ( pg_xlogfile_name_offset PGNSP PGUID 12 f f t f i 1 2249 "25" "{25,25,23}" "{i,o,o}" "{wal_offset,filename,offset}"pg_xlogfile_name_offset - _null_ )); I think you can get away without inner quotes (ie, not "{'i','o','o'}") as long as you aren't using anything weird like spaces in a parameter name. regards, tom lane
В списке pgsql-hackers по дате отправления: