Re: BUG #2184: Insertion problem

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Surya <Subrhmanyam(dot)surya(at)wipro(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #2184: Insertion problem
Date: 2006-01-19 21:12:53
Message-ID: 200601192112.k0JLCrV19650@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Surya wrote:
>
> The following bug has been logged online:
>
> Bug reference: 2184
> Logged by: Surya
> Email address: Subrhmanyam(dot)surya(at)wipro(dot)com
> PostgreSQL version: 8.0
> Operating system: Windows-2003 Server
> Description: Insertion problem
> Details:
>
> There is a problem when inserting a single quote in the database.

Use two single-quotes to insert a single-quote:

'I took it''s money'

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2006-01-19 21:24:37 Re: BUG #2186: syntax error in postgresql.conf
Previous Message Jaime Casanova 2006-01-19 21:10:57 Re: BUG #2185: function compilation error with "Create [TEMP] table?