Proper quoting of \e - Mailing list pgsql-sql

From Helge Kreutzmann
Subject Proper quoting of \e
Date
Msg-id 20020424151214.A8561@itp.uni-hannover.de
Whole thread Raw
List pgsql-sql
Hello !
We have a database in SQL_ASCII in postgres 7.2.1 which contains among
other information document titles which are automatically retrieved.
I took care of quoting "`" but recently stumpled about "\e" which I
have problems working with. Example (in psql, but in php it is the same):

SELECT title from written_by where title like 'An equation of state {\%';
title
-------------------------------------------------------------------------------------------------
An equation of state {\em \`a la} Carnahan-Starling for a five-dimensional fluid of hard hyperspheres
(1 row)

works, but if I take one character more (or, later, the entire title),
it does not:

SELECT title from written_by where title like 'An equation of state {\e%';
title
-------
(0 rows)

I tried various variations (like \\e and simmilar) and looked through
the interactive docs but did not find anything.
Unfortunately I could not search through the list archives because of
some problems with the backend database.

Thanks for any pointers
          Helge

--
Helge Kreutzmann, Dipl.-Phys.               Helge.Kreutzmann@itp.uni-hannover.de gpg signed mail preferred    gpg-key:
fingerkreutzm@rigel.itp.uni-hannover.de   64bit GNU powered                  http://www.itp.uni-hannover.de/~kreutzm
 Help keep free software "libre": http://www.freepatents.org/ 

pgsql-sql by date:

Previous
From: Daniel Lundin
Date:
Subject: Again: Identity not discovered by planner?
Next
From: Bruno Ricardo Sacco
Date:
Subject: Pl/pgSQL Question.