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

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: 2005-05-26 21:52:44
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
<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

In response to

pgsql-novice by date

Next:From: Sadie D. Adams, VDate: 2005-05-27 00:56:39
Subject: Industry News
Previous:From: Sugrue, SeanDate: 2005-05-26 21:52:23
Subject: Explain

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