Skip site navigation (1) Skip section navigation (2)

Re: Path for pgsql \i option?

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: (view raw, whole thread or download thread mbox)
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/

Where "inc" was a subdirectory.
I did not try:
\i ./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.

In response to

pgsql-novice by date

Next:From: Andre SchnabelDate: 2001-09-13 18:25:24
Subject: Re: Insert using a subselect?
Previous:From: Francisco ReyesDate: 2001-09-13 17:21:31
Subject: Re: Insert using a subselect?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group