naming convention/mixed case

From: Alejandro Fernandez <ale(at)nin(dot)cx>
To: pgsql-general(at)postgresql(dot)org
Subject: naming convention/mixed case
Date: 2001-05-08 12:55:01
Message-ID: 3AF7ECA5.921C351D@nin.cx
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi

I'm working on a project (http://mandible.sourceforge.net/)that uses
postgres for a membership directory. The database being used as a
starting example is currently an Access database, and the first naming
standard I'm using is the Leszynski/Reddick one at
http://msdn.microsoft.com/library/backgrnd/html/msdn_20naming.htm
- especially since these are the conventions that are currently used in
the access database.

The problem is that postgres's handling of mixed case table names etc
makes things quite complicated, as they have to be enclosed in double
quotes: this makes tab completion useless in psql, and possibly
complicates functions/triggers/etc, as they will need mixtures of double
and single quotes. For example, creating sequences called "seqMemberId"
made them hard to modify with nextval and setval, as the function uses
single quotes already.

For me, it's fine to just live with this, as I've started using that
convention, but just for future reference, is there a naming standard
that is better indicated for postgresql(and other unix friendly
databases perhaps?), or is there a plan to get postgres naming to
support mixed case more?

Thanks,

Ale
--
Alejandro Fernandez Bscp 5 Caledonian University
0141 586 3913 - ale(at)nin(dot)cx

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Joel Burton 2001-05-08 13:10:37 sorting (fwd)
Previous Message Raymond Chui 2001-05-08 11:13:19 Whait is the $PGDATA/data/pg_log file use for?