From: Leif B. Kristensen <leif@solumslekt.org>
To: pgsql-php@postgresql.org
Subject: Re: Newbie Question-Quoting SQL
Date: Mon, 27 Apr 2009 22:02:19 +0200
Message-ID: <200904272202.19937.leif@solumslekt.org> (raw)
In-Reply-To: <E4ACCD5E-1A3B-4A3B-B2ED-6AF0C74222FE@me.com>
References: <E4ACCD5E-1A3B-4A3B-B2ED-6AF0C74222FE@me.com>
On Monday 27. April 2009, Thomas Hart wrote:
> $result = pg_query ($link, "Select * from Author");
If the table really is named "Author" with a capital A, you'll need to
quote it, because postgres will fold it to lowercase otherwise.
--
Leif Biberg Kristensen | Registered Linux User #338009
Me And My Database: http://solumslekt.org/blog/
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: leif@solumslekt.org
Subject: Re: Newbie Question-Quoting SQL
In-Reply-To: <200904272202.19937.leif@solumslekt.org>
References: <E4ACCD5E-1A3B-4A3B-B2ED-6AF0C74222FE@me.com> <200904272202.19937.leif@solumslekt.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox