pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: Peter Eisentraut <peter_e@gmx.net>
Cc: PostgreSQL Development <pgsql-hackers@postgresql.org>
Subject: Re: PQfnumber and quoted identifiers
Date: Sun, 05 Oct 2003 14:26:48 -0400
Message-ID: <8636.1065378408@sss.pgh.pa.us> (raw)
In-Reply-To: <200310051758.h95HwL212741@candle.pha.pa.us>
References: <200310051758.h95HwL212741@candle.pha.pa.us>

Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Peter Eisentraut wrote:
>> Since this behavior was undocumented and no one had noticed it in the last
>> 10 years, I think we can away with removing it.

> I agree.  I would never expect to add quotes to a C string to preserve
> case (outside SQL), and the fact that PQfname doesn't return the string
> in quotes is another inconsistency.

Actually I was planning to quiz you about the history.  I can see from
the CVS logs that you installed all the patches that added the
quoting/downcasing behavior.  Was there any discussion about it?
I dug through the mail archives and found

http://archives.postgresql.org/pgsql-ports/1997-05/msg00081.php
http://archives.postgresql.org/pgsql-bugs/1997-05/msg00023.php
http://archives.postgresql.org/pgsql-hackers/1997-11/msg00170.php

but I could not find any actual discussion about whether there was a
real bug or whether the complainants should be told to fix their code.

			regards, tom lane



view thread (10+ messages)  latest in thread

Message-ID: <8636.1065378408@sss.pgh.pa.us>
Permalink:  ../8636.1065378408@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/8636.1065378408@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pgman@candle.pha.pa.us, peter_e@gmx.net, pgsql-hackers@postgresql.org
  Subject: Re: PQfnumber and quoted identifiers
  In-Reply-To: <8636.1065378408@sss.pgh.pa.us>

* 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