pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Julian North <julian@mulberryst.co.uk>
To: pgsql-sql@postgresql.org
Subject: naming conventions constraint
Date: Thu, 23 Oct 2003 21:30:59 +0100
Message-ID: <001901c399a4$92145c40$0401a8c0@ANYAKA> (raw)

I'm at the very beginning of working with postgres.

The aim is to replace / build a number of very large and very complex
database currently residing in Oracle, MSSQL and Informix.

In order to coordinate across a medium size DBA team I instituted a standard
constraint naming convention suitable for the above 3 platforms.

For example a foreign key would be FK_table#reftable#column.

Unfortunately I don't appear to be able to use it with postgres.

This is because I can't use the # character in constraint names.

Does anybody have any suggestions as to an alternative that is also a single
char? (I'm limited to 30 chars cos of oracle and manyof the current names at
the limit).

Any help appreciated,



Julian.





view thread (3+ messages)  latest in thread

Message-ID: <001901c399a4$92145c40$0401a8c0@ANYAKA>
Permalink:  ../001901c399a4$92145c40$0401a8c0@ANYAKA/
Also on:    postgresql.org/message-id/001901c399a4$92145c40$0401a8c0@ANYAKA

 · 

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-sql@postgresql.org
  Cc: julian@mulberryst.co.uk
  Subject: Re: naming conventions constraint
  In-Reply-To: <001901c399a4$92145c40$0401a8c0@ANYAKA>

* 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