Re: Proposal: new border setting in psql - Mailing list pgsql-hackers

From Asko Oja
Subject Re: Proposal: new border setting in psql
Date
Msg-id ecd779860808290239n9255113tb7f3069ff61daece@mail.gmail.com
Whole thread Raw
In response to Re: Proposal: new border setting in psql  (Cédric Villemain <cedric.villemain@dalibo.com>)
List pgsql-hackers
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, Aug 29, 2008 at 11:00 AM, Cédric Villemain <cedric.villemain@dalibo.com> wrote:
Le Friday 29 August 2008, Greg Smith a écrit :
> 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.

>
> --
> * Greg Smith gsmith@gregsmith.com http://www.gregsmith.com Baltimore, MD
--
Cédric Villemain
Administrateur de Base de Données
Cel: +33 (0)6 74 15 56 53
http://dalibo.com - http://dalibo.org

pgsql-hackers by date:

Previous
From: Gregory Stark
Date:
Subject: Re: New FSM allocation policy
Next
From: "D'Arcy J.M. Cain"
Date:
Subject: Re: Proposal: new border setting in psql