pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Steve Crawford <scrawford@pinpointresearch.com>
Cc: Chris Hoover <revoohc@gmail.com>
Cc: pgsql-admin@postgresql.org Admin <pgsql-admin@postgresql.org>
Subject: Re: All numeric database names?
Date: Tue, 08 Jan 2008 16:58:46 -0500
Message-ID: <14709.1199829526@sss.pgh.pa.us> (raw)
In-Reply-To: <4783E41F.6040608@pinpointresearch.com>
References: <1d219a6f0801081103m183c00a2k38c3e01b99b7b48b@mail.gmail.com>
	<4783E41F.6040608@pinpointresearch.com>

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



view thread (3+ messages)

Message-ID: <14709.1199829526@sss.pgh.pa.us>
Permalink:  ../14709.1199829526@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/14709.1199829526@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, scrawford@pinpointresearch.com, revoohc@gmail.com
  Subject: Re: All numeric database names?
  In-Reply-To: <14709.1199829526@sss.pgh.pa.us>

* 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