Re: Path for pgsql \i option? - Mailing list pgsql-novice

From Francisco Reyes
Subject Re: Path for pgsql \i option?
Date
Msg-id 20010913132406.Q33168-100000@zoraida.natserv.net
Whole thread Raw
In response to Re: Path for pgsql \i option?  (Jason Tan <jason@rebel.rebel.net.au>)
List pgsql-novice
On Tue, 11 Sep 2001, Jason Tan wrote:
> You can specify absolute paths.


That's what I have been using.

> You can also speicify relative paths:

I tried relative paths and didn't seem to work.
In particular I tried something like:
\i inc/myfile.inc

Where "inc" was a subdirectory.
I did not try:
\i ./inc/myfile.inc

will try than when I get back to work.. no electricity on whole area where
I work due to terrorist attack.

> You can also include lots of \i directives in a file you run with \i.
> Eg if have a file called builddb.sq; that contains:

That could be usefull.



pgsql-novice by date:

Previous
From: "Michael D. Mauney"
Date:
Subject: receive the ERROR: req: Permission denied
Next
From: Francisco Reyes
Date:
Subject: Re: Insert using a subselect?