Re: how to generate a sql file - Mailing list pgsql-general

From Richard Huxton
Subject Re: how to generate a sql file
Date
Msg-id 200403231152.14661.dev@archonet.com
Whole thread Raw
In response to how to generate a sql file  (spambox <spambox@wanadoo.fr>)
List pgsql-general
On Tuesday 23 March 2004 09:11, spambox wrote:
> Hi,
>
> i would like to generate a file of my sql sequences during a stored
> process, i know it's possible but i dont' find the command.
> Thx for the help

Well, from psql \o <filename> will output results to a file.

If it's the statements you want to record, set the log_statement config
setting (see run-time environment section of the manuals).

--
  Richard Huxton
  Archonet Ltd

pgsql-general by date:

Previous
From:
Date:
Subject: Re: PHP or JSP? That is the question.
Next
From: "Ian Harding"
Date:
Subject: Re: PHP or JSP? That is the question.