Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 0A5D14767B7 for ; Tue, 18 Jun 2002 18:26:19 -0400 (EDT) Received: from ciderbox.stanaway.net (ciderbox.stanaway.net [170.76.50.98]) by postgresql.org (Postfix) with ESMTP id DA8A6476A02 for ; Tue, 18 Jun 2002 17:48:02 -0400 (EDT) Received: by ciderbox.stanaway.net (Postfix, from userid 1000) id AB72492EAE; Tue, 18 Jun 2002 16:47:57 -0500 (CDT) Subject: Re: Uppercase field names not found From: David Stanaway To: PGSQL Administration In-Reply-To: <3D0FAD1A.2050501@cox.net> References: <3D0E8C13.4000205@wilcoxon.org> <1024404457.9198.17.camel@ciderbox> <3D0FAD1A.2050501@cox.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-eLdlQd7TruE5mMB1sItu" X-Mailer: Ximian Evolution 1.0.5 Date: 18 Jun 2002 16:47:57 -0500 Message-Id: <1024436877.9395.42.camel@ciderbox> Mime-Version: 1.0 X-Archive-Number: 200206/126 X-Sequence-Number: 4561 --=-eLdlQd7TruE5mMB1sItu Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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=20 > 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 --=-eLdlQd7TruE5mMB1sItu Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iQEXAwUAPQ+qjb6yIDFGeSAyFAK/vwP+LNz1LIil1wB9kzEv4HJk8FiZU/GmNlY+ rmvY1fjV/z/08WN6l3bCMyZ/uaImqBrvUIHkv1kncZnPfoIRqVHQBjTkWAZomkSn rFgYMKCJrbmcvQhJPohXVeLIG0GYEvmSrzKpn2LDjop0bGBIt0OGa3BMGb7W7m1D aRdqB2mHsVUD/iFutd/wAh9RjjQ/f26UqClKUc/yRzyj34pcUFVWZdJ4DdBfzyn9 KvnNRuGXhEFfrkaGF/S61IMwVsxhm5BLTYdwlJYvf1iknsENaW0YExc3cFGin7IK 98Nvp7x4b+/RhahrOCM6IbQ3eX5efbkv8yOuxhgpU/XI562gRWcG1fXI =p2kR -----END PGP SIGNATURE----- --=-eLdlQd7TruE5mMB1sItu--