pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ken J. Wright <ken@ori-ind.com>
To: Henk Jan Barendregt <henkjan@barendregt.xs4all.nl>
Cc: pgsql-interfaces@postgreSQL.org
Subject: Re: [INTERFACES] How to store '
Date: Fri, 07 May 1999 13:21:07 -0700
Message-ID: <3.0.32.19990507132105.008d9a40@ren.cncware.com> (raw)

You have to preceed each occurence of ' with a \.
So "test'string" becomes "test\'string".

Cheers!

Ken

At 08:02 PM 5/7/99 +0000, you wrote:
>
>Hello,
>
>Is there a way to store a string with the ' character in it ?
>I have to import a database with a lot of strings containing the '
>character.
>If it is not possible i should write a script to replace them with a `
>char.
>
>Thanks in advance,
>
>Henk Jan
>




view thread (8+ messages)  latest in thread

Message-ID: <3.0.32.19990507132105.008d9a40@ren.cncware.com>
Permalink:  ../3.0.32.19990507132105.008d9a40@ren.cncware.com/
Also on:    postgresql.org/message-id/3.0.32.19990507132105.008d9a40@ren.cncware.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-interfaces@postgresql.org
  Cc: ken@ori-ind.com, henkjan@barendregt.xs4all.nl
  Subject: Re: [INTERFACES] How to store '
  In-Reply-To: <3.0.32.19990507132105.008d9a40@ren.cncware.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