pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Aaron Bono <postgresql@aranya.com>
To: A. Kretschmer <andreas.kretschmer@schollglas.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Table Relationships
Date: Tue, 31 Oct 2006 14:43:31 -0600
Message-ID: <bf05e51c0610311243u6a1c05f7n263de118da4d2037@mail.gmail.com> (raw)
In-Reply-To: <20061031201344.GA13860@a-kretschmer.de>
References: <031936836C46D611BB1B00508BE7345D04C02E82@gatekeeper.daycos.com>
	<20061031184843.GA12767@a-kretschmer.de>
	<bf05e51c0610311132w3bb1bb80i876750c9c5d8aee8@mail.gmail.com>
	<20061031200824.GA13785@a-kretschmer.de>
	<20061031201344.GA13860@a-kretschmer.de>

On 10/31/06, A. Kretschmer <andreas.kretschmer@schollglas.com> wrote:
>
> am  Tue, dem 31.10.2006, um 21:08:24 +0100 mailte A. Kretschmer folgendes:
> > am  Tue, dem 31.10.2006, um 13:32:59 -0600 mailte Aaron Bono folgendes:
> > > I would go further by adding a type table like this:
> > >
> > > operation_type (
> > >     operation_type_id bigserial (PK),
> >
> > You are sure, that you need bigserial?
>
> Hey, your idea is okay, but i think, we don't need *BIG*serial for this.
> Okay?
>
>
> Andreas


Sorry, just force of habbit.  Serial works or you can just drop the id and
use the code as the primary key.  You should at the very least put a unique
constraint on the code field.

-- 
==================================================================
   Aaron Bono
   Aranya Software Technologies, Inc.
   http://www.aranya.com
   http://codeelixir.com
==================================================================

view thread (13+ messages)  latest in thread

Message-ID: <bf05e51c0610311243u6a1c05f7n263de118da4d2037@mail.gmail.com>
Permalink:  ../bf05e51c0610311243u6a1c05f7n263de118da4d2037@mail.gmail.com/
Also on:    postgresql.org/message-id/bf05e51c0610311243u6a1c05f7n263de118da4d2037@mail.gmail.com

 · 

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: postgresql@aranya.com, andreas.kretschmer@schollglas.com
  Subject: Re: Table Relationships
  In-Reply-To: <bf05e51c0610311243u6a1c05f7n263de118da4d2037@mail.gmail.com>

* 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