Re: All numeric database names? - Mailing list pgsql-admin

From Tom Lane
Subject Re: All numeric database names?
Date
Msg-id 14709.1199829526@sss.pgh.pa.us
Whole thread Raw
In response to Re: All numeric database names?  (Steve Crawford <scrawford@pinpointresearch.com>)
List pgsql-admin
Steve Crawford <scrawford@pinpointresearch.com> writes:
> Alternately, you could prepend 1+ alpha characters to the customer
> numbers to create names like c123456 or cust123456 which don't need to
> be quote-enclosed.

I'd recommend that too.  Quite aside from the quoting problem, this
will save you tons of confusion if you ever have to deal with database
OIDs (during disaster recovery perhaps).

            regards, tom lane

pgsql-admin by date:

Previous
From: Steve Crawford
Date:
Subject: Re: All numeric database names?
Next
From: Tom Lane
Date:
Subject: Re: -d option in pg_dump