Re: Scripting with subdirectories - how to specify script locations. - Mailing list pgsql-novice

From Pól Ua Laoínecháin
Subject Re: Scripting with subdirectories - how to specify script locations.
Date
Msg-id CAF4RT5Tmckc5amB0Dg==gpGpCVOr-DdbHmp0sRjW=r5Hg9muXg@mail.gmail.com
Whole thread Raw
In response to Re: Scripting with subdirectories - how to specify script locations.  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-novice
>> I know I'm probably missing something basic - could some kind soul
>> point me in the right direction?

> \ir is “include relative”, makes the cwd the directory of the active script instead lf where psql was run from.


Thanks - that did the trick - much nicer than cluttering up the
scripts with cd commands.

Rgs,



Pól...

> David J.



pgsql-novice by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: Scripting with subdirectories - how to specify script locations.
Next
From: Kim Heckler
Date:
Subject: Database copy