From: | jwieck(at)debis(dot)com (Jan Wieck) |
---|---|
To: | maillist(at)candle(dot)pha(dot)pa(dot)us (Bruce Momjian) |
Cc: | jwieck(at)debis(dot)com, herouth(at)oumail(dot)openu(dot)ac(dot)il, mancinel(at)univaq(dot)it, pgsql-sql(at)postgreSQL(dot)org |
Subject: | Re: [SQL] ' escape |
Date: | 1998-12-08 09:27:16 |
Message-ID: | m0znJQL-000EBPC@orion.SAPserv.Hamburg.dsh.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
> > 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(at)debis(dot)com (Jan Wieck) #
From | Date | Subject | |
---|---|---|---|
Next Message | Herouth Maoz | 1998-12-08 09:45:18 | Re: [SQL] ' escape |
Previous Message | Bruce Momjian | 1998-12-07 22:59:48 | Re: [SQL] ' escape |