Charlie Wang wrote: > I want to write a function to expose the content of WAL Files as streams, > and then send to somewhere else, record by record.
This is not a patch -- please do not write to the pgsql-patches list. Thanks. Re: the WAL records, most likely they are useless outside the server that generated them, because they refer to relations using Oids, and to specific page addresses which are probably not going to be exactly the same anywhere else (consider VACUUM commands running at different times). -- Alvaro Herrera http://www.CommandPrompt.com/ PostgreSQL Replication, Consulting, Custom Development, 24x7 support ---------------------------(end of broadcast)--------------------------- TIP 5: don't forget to increase your free space map settings