Re: Quotation marks in queries

From: Peter Fein <pfein(at)pobox(dot)com>
To: tony_caduto(at)amsoftwaredesign(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Quotation marks in queries
Date: 2005-07-14 15:40:58
Message-ID: 42D6878A.4060100@pobox.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tony Caduto wrote:
> The easiest solution is just not to use caps or spaces in your
> table/object names, there is no advantage to doing so.
> People just need to get over the fact that having caps in a name make it
> easier to read.

Not to pick nits, but I disagree. Capitalization (CamelCase in
particular) can make it easier to determine at a glance what type of
object a name refers to. While this can be determined from syntax, it's
nice not to have to think about it. ;)

> It is much more of a pain to qoute your sql than it is to have it look
> nice.

Certainly. Things don't look very nice with quotes all over the place.

--
Peter Fein pfein(at)pobox(dot)com 773-575-0694

Basically, if you're not a utopianist, you're a schmuck. -J. Feldman

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Thomas F. O'Connell 2005-07-14 15:49:56 Re: ERROR: could not open relation
Previous Message Matt Miller 2005-07-14 15:38:43 Re: Standalone Parser for PL/pgSQL