As stated above this format is mainly good for copy paste and may require occasional manual tweaking. Users should be people who use psql in their everyday work and on the other hand need to publish data from database in some other places. Would you please bring examples of some widespread applications that would be happy to digest these formats?
regards, Asko
PS: For me current capabilities of psql (\a and \f) have been quite enough so far when pasting occasionally to wiki, openoffice or chat message.
> On Fri, 29 Aug 2008, Tom Lane wrote: > > You're ignoring the fact that D'Arcy's patch doesn't output valid ReST. > > It outputs something that might pass for ReST, but only so long as there > > are no special characters in the data. > > I agree that it's a bad idea to say explicitly that it's "ReST mode" > output, because it's not. But it works just fine for that purpose on > almost every table I would generate on a typical day. My databases are > mainly filled with plain alphanumeric text and numbers. If I can dump 99% > of them into ReST using this new border but 1% require me to manually > tweak by escaping some characters, that's still very useful to me. I'd > hate to see a focus on the corner cases drive this feature away.
We use ReST a lot, and it will be very usefull to have this ouput.