Skip site navigation (1) Skip section navigation (2)

Re: Proposal: new border setting in psql

From: "Asko Oja" <ascoja(at)gmail(dot)com>
To: Cédric Villemain <cedric(dot)villemain(at)dalibo(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org, "Greg Smith" <gsmith(at)gregsmith(dot)com>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Andrew Dunstan" <andrew(at)dunslane(dot)net>, "D'Arcy J(dot)M(dot) Cain" <darcy(at)druid(dot)net>
Subject: Re: Proposal: new border setting in psql
Date: 2008-08-29 09:39:14
Message-ID: ecd779860808290239n9255113tb7f3069ff61daece@mail.gmail.com (view raw or flat)
Thread:
Lists: 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(dot)villemain(at)dalibo(dot)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(at)gregsmith(dot)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
>

In response to

pgsql-hackers by date

Next:From: D'Arcy J.M. CainDate: 2008-08-29 10:55:45
Subject: Re: Proposal: new border setting in psql
Previous:From: Gregory StarkDate: 2008-08-29 09:26:44
Subject: Re: New FSM allocation policy

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group