Re: [GENERAL] Problem with apostrophe - Mailing list pgsql-general

From Byron Nikolaidis
Subject Re: [GENERAL] Problem with apostrophe
Date
Msg-id 35881F0B.5FC2DDEE@insightdist.com
Whole thread Raw
In response to Problem with apostrophe  (eric@gateway.ctlno.com)
List pgsql-general
Just escape the apostrophe with a backslash.

Byron

eric@gateway.ctlno.com wrote:

> Is there any way of having an apostrophe in a data field?
> It is a problem because the apostrophe is the same character as the single
> quote, so the database gets a parser error when a name such as "O'Brian"
> is entered.
>
> There must be a work-around, but I can not find any solution.
>
> thank you for your help




pgsql-general by date:

Previous
From: eric@gateway.ctlno.com
Date:
Subject: Re: [GENERAL] Problem with apostrophe
Next
From: Bruce Momjian
Date:
Subject: Re: [GENERAL] User Gallery...