use \i option followed by the path of the file which contains the script
----- Original Message -----
From: <Darshan.wakchaure@Vashimail.ltitl.com>
To: <pgsql-general@postgresql.org>
Sent: Thursday, April 26, 2001 1:18 PM
Subject: [GENERAL] Run a create object script ???
>
>
> Hi,
> I have written all the script in a db.txt file, how to call the script
from the
> file???
> In Oracle one can issue $ @filename and the job get done, whats the
relative
> option in POSTGRES ???
>
> DArshan
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)