pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Stanaway <david@stanaway.net>
To: PGSQL Administration <pgsql-admin@postgresql.org>
Subject: Re: Uppercase field names not found
Date: 18 Jun 2002 16:47:57 -0500
Message-ID: <1024436877.9395.42.camel@ciderbox> (raw)
In-Reply-To: <3D0FAD1A.2050501@cox.net>
References: <3D0E8C13.4000205@wilcoxon.org>
	<1024404457.9198.17.camel@ciderbox>
	<3D0FAD1A.2050501@cox.net>

On Tue, 2002-06-18 at 16:58, Digital Wokan wrote:
> So I suppose since he's referring to a field, to pull it in all 
> uppercase, he'd use...
> SELECT "ABC" from mytable;
> Am I correct?


Yes.  Same with functions too I guess.  Sequences were tricky,
I think.. you needed:   currval('"mytable_ABC_seq"')

I avoid non-lower case names personally. It is not very portable to rely
on that in your application and will be confusing if anyone else messes
with your code.

--
David Stanaway

Attachments:

  signature.asc (application/pgp-signature, 480B) download

view thread (5+ messages)  latest in thread

Message-ID: <1024436877.9395.42.camel@ciderbox>
Permalink:  ../1024436877.9395.42.camel@ciderbox/
Also on:    postgresql.org/message-id/1024436877.9395.42.camel@ciderbox

 · 

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-admin@postgresql.org
  Cc: david@stanaway.net
  Subject: Re: Uppercase field names not found
  In-Reply-To: <1024436877.9395.42.camel@ciderbox>
  References: <3D0E8C13.4000205@wilcoxon.org> <1024404457.9198.17.camel@ciderbox> <3D0FAD1A.2050501@cox.net> <1024436877.9395.42.camel@ciderbox>

* 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