pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Filipe Knoedt <filipe@brasilenergia.com.br>
To: PG LIST <pgsql-admin@postgresql.org>
Subject: N-to-N implementation
Date: Thu, 21 Jul 2005 12:38:18 -0300
Message-ID: <010901c58e0a$37e50420$1300a8c0@brasilenergia> (raw)

Hi all,

I'd like to set up a discussion (if necessary) about two different ways to implement N-to-N relationships: using a N-to-N intermediary table or, suppose an A and B tables situation, creating the primary key of the table B with the A.id plus a sequencer.

I'm thinking on going the second way, but decided to ask the list if anybody sees any potencial problem in it, like for performance or anything.

Filipe Knoedt

view thread (2+ messages)  latest in thread

Message-ID: <010901c58e0a$37e50420$1300a8c0@brasilenergia>
Permalink:  ../010901c58e0a$37e50420$1300a8c0@brasilenergia/
Also on:    postgresql.org/message-id/010901c58e0a$37e50420$1300a8c0@brasilenergia

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: filipe@brasilenergia.com.br
  Subject: Re: N-to-N implementation
  In-Reply-To: <010901c58e0a$37e50420$1300a8c0@brasilenergia>
  References: <010901c58e0a$37e50420$1300a8c0@brasilenergia>

* 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