Re: Path for pgsql \i option?

Поиск
Список
Период
Сортировка
От Francisco Reyes
Тема Re: Path for pgsql \i option?
Дата
Msg-id 20010913132406.Q33168-100000@zoraida.natserv.net
обсуждение исходный текст
Ответ на Re: Path for pgsql \i option?  (Jason Tan <jason@rebel.rebel.net.au>)
Список 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 по дате отправления:

Предыдущее
От: "Michael D. Mauney"
Дата:
Сообщение: receive the ERROR: req: Permission denied
Следующее
От: Francisco Reyes
Дата:
Сообщение: Re: Insert using a subselect?