Skip site navigation (1) Skip section navigation (2)

Re: saving a query and reults to a file.

From: "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: saving a query and reults to a file.
Date: 2005-11-29 19:47:08
Message-ID: 20051129194708.GA20106@webserv.wug-glas.de (view raw or flat)
Thread:
Lists: pgsql-novice
am  29.11.2005, um 18:38:50 +0000 mailte Oliver Elphick folgendes:
> On Tue, 2005-11-29 at 11:35 -0500, T. Lackey wrote:
> > Is there an easy way to save a series of queries and query results to
> > a single file like /tee in MySQL?  I am running version 8.-beta4 on
> > windows XP.
> 
> In psql:
> 
> \o output_file_name
> ...various queries...
> \o

This isn't the right answer. \o redirect _only_ query results to the
file, not the queries.

And yes, i don't know the answer.


Andreas
-- 
Andreas Kretschmer    (Kontakt: siehe Header)
Heynitz:  035242/47212,      D1: 0160/7141639
GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net
 ===    Schollglas Unternehmensgruppe    === 

In response to

Responses

pgsql-novice by date

Next:From: Oliver ElphickDate: 2005-11-29 22:48:42
Subject: Re: saving a query and reults to a file.
Previous:From: Oliver ElphickDate: 2005-11-29 18:38:50
Subject: Re: saving a query and reults to a file.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group