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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Re: Escaped Characters (Quotes, etc...)


  • From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
  • To: operationsengineer1(at)yahoo(dot)com
  • Cc: pgsql-novice <pgsql-novice(at)postgresql(dot)org>
  • Subject: Re: Escaped Characters (Quotes, etc...)
  • Date: Thu, 26 May 2005 17:52:44 -0400
  • Message-id: <8787.1117144364@sss.pgh.pa.us> <text/plain>

<operationsengineer1(at)yahoo(dot)com> writes:
> when i run a pgadmin3 query and select * from a table,
> shouldn't the " mark appear like this : \" ?

No, what for?

You have to escape quotes that are going to be put into a string literal
in a SQL command string.  But data coming out of the server is not in a
SQL command string and so it doesn't need that layer of quoting.

			regards, tom lane



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group