batch file

From: Hugo Coolens <hugo(dot)coolens(at)skynet(dot)be>
To: pgsql-general(at)postgresql(dot)org
Subject: batch file
Date: 2002-02-21 02:25:28
Message-ID: 3C745A98.38FE1B29@skynet.be
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

In the postgresql tutorial it is explained how to enter commands one by
one, I was wondering whether it is possible to first put a series of
commands in an ascii file and then read in that file with psql. Here are
my questions:
1. What should be the default extension of such a file
2. Which command in psql should I use to read in suc a file

best regards,
hugo

Responses

Browse pgsql-general by date

  From Date Subject
Next Message pauLSiew 2002-02-21 02:44:30 Date problem
Previous Message Barry Lind 2002-02-21 01:02:13 Re: returning rows from a function