Re: Characters that needs escape characters when inserting to database

From: Michael Glaesemann <grzm(at)myrealbox(dot)com>
To: "Christian Paul B(dot) Cosinas" <cpc(at)cybees(dot)com>
Cc: <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Characters that needs escape characters when inserting to database
Date: 2006-01-17 07:20:23
Message-ID: 963723D6-0891-4EF0-8324-0D4E5FCF69AA@myrealbox.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


On Jan 18, 2006, at 7:21 , Christian Paul B. Cosinas wrote:

> Can anyone give me a list of characters that needs to be preceded
> by an
> escape character before inserting to database.

Take a look at this documentation on string constants. It should
answer the questions you have.
http://www.postgresql.org/docs/current/interactive/sql-
syntax.html#SQL-SYNTAX-STRINGS

Michael Glaesemann
grzm myrealbox com

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Michael Fuhr 2006-01-17 17:56:42 Re: Characters that needs escape characters when inserting to database
Previous Message Daniel CAUNE 2006-01-17 03:10:34 Re: Executing plpgsql scripts using psql, is that possible?