| From: | Francisco Reyes <lists(at)natserv(dot)com> |
|---|---|
| To: | Jason Tan <jason(at)rebel(dot)rebel(dot)net(dot)au> |
| Cc: | Pgsql Novice <pgsql-novice(at)postgresql(dot)org> |
| Subject: | Re: Path for pgsql \i option? |
| Date: | 2001-09-13 17:27:52 |
| Message-ID: | 20010913132406.Q33168-100000@zoraida.natserv.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andre Schnabel | 2001-09-13 18:25:24 | Re: Insert using a subselect? |
| Previous Message | Francisco Reyes | 2001-09-13 17:21:31 | Re: Insert using a subselect? |