Re: Proposal: new border setting in psql

D'Arcy Cain <darcy@druid.net>

From: "D'Arcy J.M. Cain" <darcy@druid.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Greg Smith <gsmith@gregsmith.com>, Andrew Dunstan <andrew@dunslane.net>, Asko Oja <ascoja@gmail.com>, pgsql-hackers@postgresql.org
Date: 2008-08-29T10:55:45Z
Lists: pgsql-hackers
On Fri, 29 Aug 2008 01:29:14 -0400
Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Hmm ... the patch works for data that contains no backslashes,
> asterisks, backquotes, vertical bars, nor underscores.  Nor perhaps
> other special characters that I might've missed in one cursory scan of
> the ReST spec.  I'm not sure which side of this should be considered a
> "corner case"; but I am quite certain that anyone trying to pass data
> into a ReST-reading application will soon be dissatisfied with this
> patch.

I think that your scan may have been a bit too cursory.  Those
characters, while significant in ReST, only matter when used in very
specific ways.  The following works just fine in my ReST application.

+----+-------+
| id | name  |
+====+=======+
|  8 | T'est |
+----+-------+
|  9 | T*est |
+----+-------+
| 10 | T\est |
+----+-------+
| 11 | T`est |
+----+-------+
| 12 | T_est |
+----+-------+


-- 
D'Arcy J.M. Cain <darcy@druid.net>         |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 425 1212     (DoD#0082)    (eNTP)   |  what's for dinner.