From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: Tena Sakai <tsakai@gallo.ucsf.edu>
To: pgsql-admin@postgresql.org
Subject: Re: select into...
Date: Mon, 16 Mar 2009 18:13:07 -0500
Message-ID: <49BE96B3.EE98.0025.0@wicourts.gov> (raw)
In-Reply-To: <FE44E0D7EAD2ED4BB2165071DB8E328C0378F7E6@egcrc-ex01.egcrc.org>
References: <FE44E0D7EAD2ED4BB2165071DB8E328C0378F7E6@egcrc-ex01.egcrc.org>
>>> "Tena Sakai" <tsakai@gallo.ucsf.edu> wrote:
> What I want is to append my_table. Is there any way
> to get postgres to do what I want done?
PostgreSQL supports the SQL standard syntax for this:
insert into my_table
select *
from old_table
where (some_condition);
-Kevin
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: Kevin.Grittner@wicourts.gov, tsakai@gallo.ucsf.edu
Subject: Re: select into...
In-Reply-To: <49BE96B3.EE98.0025.0@wicourts.gov>
* 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