pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christian Schröder <cs@deriva.de>
To: pgsql-odbc@postgresql.org
Subject: Re: Windows, ODBC drivers and strange points ...
Date: Mon, 10 Oct 2005 13:46:33 +0200
Message-ID: <434A5499.3010001@deriva.de> (raw)
In-Reply-To: <434A4C48.7030101@t-online.de>
References: <E7F85A1B5FF8D44C8A1AF6885BC9A0E4CC329F@ratbert.vale-housing.co.uk>
	<434A4C48.7030101@t-online.de>

Marten Feldtmann wrote:

> This means, that under PostgreSQL one should in general quote
> the column names when creating them ? Do I also have to quote
> them in the SELECT statements ???

Exactly. However, this is a database issue, not a driver issue. Quoting
http://www.postgresql.org/docs/8.0/static/sql-syntax.html#SQL-SYNTAX-IDENTIFIERS:

> Identifier and key word names are case insensitive. Therefore
>
>UPDATE MY_TABLE SET A = 5;
>
> can equivalently be written as
>
>uPDaTE my_TabLE SeT a = 5;
>
>[...]
>
>Quoting an identifier also makes it case-sensitive, whereas unquoted names are always folded to lower case. For example, the identifiers FOO, foo, and "foo" are considered the same by PostgreSQL, but "Foo" and "FOO" are different from these three and each other.
>

Regards
     Christian

Attachments:

  smime.p7s (application/x-pkcs7-signature, 2.5K) download

view thread (12+ messages)  latest in thread

Message-ID: <434A5499.3010001@deriva.de>
Permalink:  ../434A5499.3010001@deriva.de/
Also on:    postgresql.org/message-id/434A5499.3010001@deriva.de

 · 

reply

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-odbc@postgresql.org
  Cc: cs@deriva.de
  Subject: Re: Windows, ODBC drivers and strange points ...
  In-Reply-To: <434A5499.3010001@deriva.de>
  References: <E7F85A1B5FF8D44C8A1AF6885BC9A0E4CC329F@ratbert.vale-housing.co.uk> <434A4C48.7030101@t-online.de> <434A5499.3010001@deriva.de>

* 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