pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Megalex <megalex@klanomega.com>
To: pgsql-sql@postgresql.org
Subject: problems with single quotes..
Date: Thu, 4 Jan 2001 12:57:19 -0600
Message-ID: <000b01c07680$29fb2430$0301a8c0@klanomega.com> (raw)
References: <20011201182212.R74581-100000@megazone23.bigpanda.com>

ok.. here is my deal..

everytime i try to run an insert and my text contains '\'
it fails..

an sql example would be.

Insert Into table(userID,FirstName,LastName) values(1,'''\''','test')
and i get this message...

Error while executing the query; ERROR: parser: parse error at or near
"test"

how can i fix this??

Alex,










view thread (12+ messages)  latest in thread

Message-ID: <000b01c07680$29fb2430$0301a8c0@klanomega.com>
Permalink:  ../000b01c07680$29fb2430$0301a8c0@klanomega.com/
Also on:    postgresql.org/message-id/000b01c07680$29fb2430$0301a8c0@klanomega.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: megalex@klanomega.com
  Subject: Re: problems with single quotes..
  In-Reply-To: <000b01c07680$29fb2430$0301a8c0@klanomega.com>

* 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