From: Joachim Trinkwitz <jtr@uni-bonn.de>
To: pgsql-sql@postgresql.org
Subject: copying/moving from one table to another
Date: 27 Sep 2000 20:24:46 +0200
Message-ID: <87og191ymp.fsf@mailout.uni-bonn.de> (raw)
Hi all,
is there a handy way to copy or (preferrably) move a whole record
from one table to another, equally structured table in the same DB?
Background: I have some tables which hold information concerning our
staff, where people quite so often come and go, because their
employment contract is limited to a year or two. When deleting a
person in the DB, I don't want to lose this information completely,
but I want to save it in a backup table.
I suppose this is a newbie question, maybe I am stirring me blind
somewhere ...
Greetings and thanks,
jaochim
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: jtr@uni-bonn.de
Subject: Re: copying/moving from one table to another
In-Reply-To: <87og191ymp.fsf@mailout.uni-bonn.de>
References: <87og191ymp.fsf@mailout.uni-bonn.de>
* 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