Re: Queries to Export

From: "Sean Davis" <sdavis2(at)mail(dot)nih(dot)gov>
To: "Warren Murray" <murray_warren(at)bah(dot)com>, <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Queries to Export
Date: 2006-02-17 01:47:16
Message-ID: 000601c63364$151d3660$6601a8c0@WATSON
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Look at using in psql:

\o filename
SQL QUERY(IES)
\o

Sean

----- Original Message -----
From: "Warren Murray" <murray_warren(at)bah(dot)com>
To: <pgsql-novice(at)postgresql(dot)org>
Sent: Thursday, February 16, 2006 5:41 PM
Subject: [NOVICE] Queries to Export

>I need to export the results of several union and join queries from a
> PostgreSQL database tables into text files. How is that done since the
> results is not in a table?
>
> Warren
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
> choose an index scan if your joining column's datatypes do not
> match
>

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Christopher Browne 2006-02-17 05:56:54 Re: Version 8.1
Previous Message operationsengineer1 2006-02-17 01:04:47 Re: Version 8.1