pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Indraneel Majumdar <indraneel@www.cdfd.org.in>
To: pgsql-sql@postgresql.org
Subject: many-many mapping between unique tables
Date: Mon, 16 Oct 2000 11:11:56 -0700 (PDT)
Message-ID: <Pine.SGI.3.96.1001016110204.121309A-100000@www.cdfd.org.in> (raw)

Hi,

I am facing a problem in mapping between two tables containing unique
entries

T1		T2
_________	________
|  x1	|	|  y1	|
|  x2	|	|  y2	|
|  x3	|	|  y3	|
---------	---------

x(i) points to 1 or more entries in T2. y(i) points to one or more entries
in T1. How do I store this mapping? I'd cannot use an array due to size
restrictions and inability to extract data easily for furthur processing.

I don't want to put everything into a single table and repeat values in
the 2nd column since these are really huge tables and I cannot increase
overhead by increasing data redundancy.

Is there some way to do something about this?

\Indraneel

/************************************************************************.
# Indraneel Majumdar                  ¡  E-mail: indraneel@123india.com  #
# Bioinformatics Unit (EMBNET node),  ¡  URL: http://scorpius.iwarp.com  #
# Centre for DNA Fingerprinting and Diagnostics,                         #
# Hyderabad, India - 500076                                              #
`************************************************************************/




Message-ID: <Pine.SGI.3.96.1001016110204.121309A-100000@www.cdfd.org.in>
Permalink:  ../Pine.SGI.3.96.1001016110204.121309A-100000@www.cdfd.org.in/
Also on:    postgresql.org/message-id/Pine.SGI.3.96.1001016110204.121309A-100000@www.cdfd.org.in

 · 

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-sql@postgresql.org
  Cc: indraneel@www.cdfd.org.in
  Subject: Re: many-many mapping between unique tables
  In-Reply-To: <Pine.SGI.3.96.1001016110204.121309A-100000@www.cdfd.org.in>
  References: <Pine.SGI.3.96.1001016110204.121309A-100000@www.cdfd.org.in>

* 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