pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: jwieck@debis.com
To: maillist@candle.pha.pa.us
Cc: jwieck@debis.com
Cc: herouth@oumail.openu.ac.il
Cc: mancinel@univaq.it
Cc: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] ' escape
Date: Tue, 8 Dec 1998 10:27:16 +0100 (MET)
Message-ID: <m0znJQL-000EBPC@orion.SAPserv.Hamburg.dsh.de> (raw)
In-Reply-To: <199812072259.RAA02133@candle.pha.pa.us>

> >     Hmmm - bug or feature - dunno. But telling
> > 
> >         ... DEFAULT 'Something with '''' into' ...
> > 
> >     works pretty good and as I expected it, results in one single
> >     quoute.
> 
> I see the problem here:
> 
> test=> create table test33 (a int,x char(10) default 'x\'y');
> ERROR:  parser: parse error at or near "y"

    But

    create table ... default 'x\'\'y');

    does. Whenever something around quotes doesn't work, I first
    try to double them.


Jan

-- 

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#======================================== jwieck@debis.com (Jan Wieck) #




view thread (9+ messages)  latest in thread

Message-ID: <m0znJQL-000EBPC@orion.SAPserv.Hamburg.dsh.de>
Permalink:  ../m0znJQL-000EBPC@orion.SAPserv.Hamburg.dsh.de/
Also on:    postgresql.org/message-id/m0znJQL-000EBPC@orion.SAPserv.Hamburg.dsh.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: jwieck@debis.com, maillist@candle.pha.pa.us, herouth@oumail.openu.ac.il, mancinel@univaq.it
  Subject: Re: [SQL] ' escape
  In-Reply-To: <m0znJQL-000EBPC@orion.SAPserv.Hamburg.dsh.de>
  References: <199812072259.RAA02133@candle.pha.pa.us> <m0znJQL-000EBPC@orion.SAPserv.Hamburg.dsh.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox