Re: [GENERAL] Suggested "minor" change to psql

From: Moray McConnachie <moray(dot)mcconnachie(at)computing-services(dot)oxford(dot)ac(dot)uk>
To: Mark Dalphin <mdalphin(at)amgen(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: [GENERAL] Suggested "minor" change to psql
Date: 1999-12-08 19:06:15
Message-ID: Pine.OSF.4.10.9912081900110.28334-100000@ermine.ox.ac.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

What's wrong with pgsql -d xxxx -c '\i myschema' > databaseload.logfile ?

Seems to work OK for me.

You can always use the 2>&1 syntax to redirect STDERR to STDOUT as well.

Yours,
Moray

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Daniel Stolk 1999-12-08 19:22:54 Re: [GENERAL] Size of database
Previous Message Brook Milligan 1999-12-08 18:54:26 Re: [GENERAL] Suggested "minor" change to psql

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Stolk 1999-12-08 19:22:54 Re: [GENERAL] Size of database
Previous Message Brook Milligan 1999-12-08 18:54:26 Re: [GENERAL] Suggested "minor" change to psql