On Thu, Jan 9, 2014 at 2:50 PM, Robert Haas <robertmhaas@gmail.com> wrote: > > On Tue, Jan 7, 2014 at 10:55 PM, Dilip kumar <dilip.kumar@huawei.com> wrote: > > Below attached patch is implementing following todo item.. > > > > machine-readable pg_controldata? > > > > http://www.postgresql.org/message-id/4B901D73.8030003@agliodbs.com > > > > Possible approaches: > > > > 1. Implement as backend function and provide a view to user. > > I think this would be useful. >
Hi,
Joe Conway already created this feature [1] some time ago. I think this code can be reused to create an extension.