From: Tom Lane <tgl@sss.pgh.pa.us>
To: C. Bensend <benny@bennyvision.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: "mirroring" a table - PostgreSQL 7.3.2
Date: Sat, 24 Jan 2004 16:09:59 -0500
Message-ID: <5233.1074978599@sss.pgh.pa.us> (raw)
In-Reply-To: <53076.63.227.74.41.1074972926.squirrel@webmail.stinkweasel.net>
References: <53076.63.227.74.41.1074972926.squirrel@webmail.stinkweasel.net>
"C. Bensend" <benny@bennyvision.com> writes:
> I have two tables in the same database, whose structure I want to be
> identical. Call them 'bob' and 'test_bob' for example.
> If I make a change to the schema of 'bob', I want that exact change to
> happen to 'test_bob'.
Possibly you could get the effect you want by making one a child of the
other. Read up on inheritance. There are some side-effects you'd
probably *not* want, so this isn't a perfect solution, but I can't think
of anything else.
regards, tom lane
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: tgl@sss.pgh.pa.us, benny@bennyvision.com
Subject: Re: "mirroring" a table - PostgreSQL 7.3.2
In-Reply-To: <5233.1074978599@sss.pgh.pa.us>
References: <53076.63.227.74.41.1074972926.squirrel@webmail.stinkweasel.net> <5233.1074978599@sss.pgh.pa.us>
* 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