pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Meskes <meskes@postgreSQL.org>
To: Andreas Theofilu <theofilu@eunet.at>
Cc: pgsql-interfaces@postgreSQL.org
Subject: Re: [INTERFACES] Still have problem with single quotation mark
Date: Tue, 14 Sep 1999 20:29:10 +0200
Message-ID: <19990914202910.D5414@gmx.net> (raw)
In-Reply-To: <99091407591900.00493@theofilu>
References: <9909131749230E.00573@joplin>
	<99091407591900.00493@theofilu>

On Tue, Sep 14, 1999 at 07:47:24AM +0200, Andreas Theofilu wrote:
> > >Someone on this list told me, that I should precede a ' with a second '
> > >(''). 
> > 
> > This is incorrect. You quote apostrophes with the backslash, so if my string
> > was "that's", I would represent it as "that\'s" 

Not exactly. SQL/92-standard says that ' is quored by adding a second '.

ECPG should support both.

> (that\'s), I get the run time error "too many arguments in line xxx". The
> same happens if I don't quote at all. Only quoting the apostrophe with an

Yup, I know this bug. Please try upgrading ecpg to at least 2.6.1 and try
again. If you need the source I'm willing to send it via email.

Michael
-- 
Michael Meskes                         | Go SF 49ers!
Th.-Heuss-Str. 61, D-41812 Erkelenz    | Go Rhein Fire!
Tel.: (+49) 2431/72651                 | Use Debian GNU/Linux!
Email: Michael@Fam-Meskes.De           | Use PostgreSQL!



view thread (5+ messages)

Message-ID: <19990914202910.D5414@gmx.net>
Permalink:  ../19990914202910.D5414@gmx.net/
Also on:    postgresql.org/message-id/19990914202910.D5414@gmx.net

 · 

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-interfaces@postgresql.org
  Cc: meskes@postgreSQL.org, theofilu@eunet.at
  Subject: Re: [INTERFACES] Still have problem with single quotation mark
  In-Reply-To: <19990914202910.D5414@gmx.net>

* 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