pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kovacs Baldvin <kb136@hszk.bme.hu>
To: pgsql-sql@postgresql.org
Subject: Architectural question
Date: Sat, 27 Jan 2001 03:07:41 +0100 (MET)
Message-ID: <Pine.GSO.4.21.0101270257110.15179-100000@ural2> (raw)

Hello everybody.

I would like to create a database. It's a structure of about 20 
items (tables, views, etc.) 

Then I would like to make it a template, because I need 7 copies 
of this structure, possibly a growing number. 

The only problem is that there are four tables in it, which are
general, so it would be the finest to make them common. For
example in a database "commondb".

But I don't know if I could somehow create a construction like this:
SELECT * from sometable
WHERE somecolumn IN (SELECT * FROM <the-common-db>::atable)

Since now I used Delphi, and I could reference databases as
directories in my file system, so it wasn't a problem.

Any ideas to solve this?


Thanks in advance,
Baldvin





Message-ID: <Pine.GSO.4.21.0101270257110.15179-100000@ural2>
Permalink:  ../Pine.GSO.4.21.0101270257110.15179-100000@ural2/
Also on:    postgresql.org/message-id/Pine.GSO.4.21.0101270257110.15179-100000@ural2

 · 

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: kb136@hszk.bme.hu
  Subject: Re: Architectural question
  In-Reply-To: <Pine.GSO.4.21.0101270257110.15179-100000@ural2>
  References: <Pine.GSO.4.21.0101270257110.15179-100000@ural2>

* 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