Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group