On Wed, 2006-08-16 at 17:09 -0400, Tom Lane wrote: > Simon Riggs <[EMAIL PROTECTED]> 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.
archive_timeout++.patch re-submitted on other thread, now including these changes also. -- Simon Riggs EnterpriseDB http://www.enterprisedb.com ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq