From: Terry Mackintosh <terry@terrym.com>
To: Martin Möderndorfer <mmoedern@linux.stuco.uni-klu.ac.at>
Cc: pgsql-sql@postgreSQL.org
Cc: pgsql-general@postgreSQL.org
Cc: pgsql-admin@postgreSQL.org
Subject: Re: [ADMIN] Creating Textfiles out of tables
Date: Tue, 16 Feb 1999 21:29:17 -0500 (EST)
Message-ID: <Pine.LNX.3.95.990216212522.1754A-100000@terry1.acun.com> (raw)
In-Reply-To: <36C96D05.8F6676D8@linux.stuco.uni-klu.ac.at>
Hi Martin
One why (there may be a better way), would be to do a 'select...into table
...from ....', now that you have the result set you want in a temp table,
use the copy command ( in psql do '\h copy' for help.)
Also, for select help do (in side psql) '\h select'.
Hope that helps
Terry
On Tue, 16 Feb 1999, Martin [iso-8859-1] Möderndorfer wrote:
> Hi,
>
> i have some tables and want to extract results of a query on them into a
> text-file. it should be possible to insert ":","{" between the different
> tuples.
>
> Any ideas
>
> MArtin
> mmoedern@linux.stuco.uni-klu.ac.at
>
Have a great day
Terry Mackintosh <terry@terrym.com> http://www.terrym.com
sysadmin/owner I'm excited about life! How about YOU!?
Professional Web Hosting and site design to include programming
Proudly powered by R H Linux 4.2, Apache 1.3.x, PHP 3.x, PostgreSQL 6.x
-----------------------------------------------------------------------
Only if you know where you're going can you get there.
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: terry@terrym.com, mmoedern@linux.stuco.uni-klu.ac.at, pgsql-general@postgreSQL.org, pgsql-admin@postgreSQL.org
Subject: Re: [ADMIN] Creating Textfiles out of tables
In-Reply-To: <Pine.LNX.3.95.990216212522.1754A-100000@terry1.acun.com>
References: <36C96D05.8F6676D8@linux.stuco.uni-klu.ac.at> <Pine.LNX.3.95.990216212522.1754A-100000@terry1.acun.com>
* 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