From: Ross J. Reedstrom <reedstrm@rice.edu>
To: Sill-II, Stephen <Stephen.Sill-II@ost.dot.gov>
Cc: ''pgsql-sql@postgresql.org' ' <pgsql-sql@postgresql.org>
Subject: Re: referencing column names properly
Date: Sun, 9 Feb 2003 16:56:15 -0600
Message-ID: <20030209225615.GA11550@wallace.ece.rice.edu> (raw)
In-Reply-To: <4BAE87828F06EB45B2641B83D370350F45E5@ostex002.ad.ost.dot.gov>
References: <4BAE87828F06EB45B2641B83D370350F45E5@ostex002.ad.ost.dot.gov>
On Sun, Feb 09, 2003 at 09:18:05AM -0500, Sill-II, Stephen wrote:
> Thanks much! After much experimentation, I figured it out. I remember
> reading in the postgres oreily book that if you don't quote the identifiers,
> that it converts them all to lowercase for processing. Does the dash in the
> name also require the name to be quoted?
Yup, so the expression parser can differentiate between a-b (column"a"
- column "b") and a-b (column named "a-b").
Ross
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: reedstrm@rice.edu, Stephen.Sill-II@ost.dot.gov
Subject: Re: referencing column names properly
In-Reply-To: <20030209225615.GA11550@wallace.ece.rice.edu>
* 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