Patch (tiny): \cd (change dir) for psql [with feedback] - Mailing list pgsql-patches

From Mark Hamby
Subject Patch (tiny): \cd (change dir) for psql [with feedback]
Date
Msg-id NCBBJHAODFJBGACGMCEJMEFDCHAA.mark@archer.leavenworth.army.mil
Whole thread Raw
List pgsql-patches
(Sorry for the repost. I have amended my previous patch
with feedback that outputs the new current directory.)

Here's a patch for a \cd (change dir) command in psql program.
It's very small and only adds a few lines.
Personally, I am surprised psql does not have this command.
It is EXTREMELY useful when \include'ing SQL scripts to set
up a database schema.

Hope you like,

Mark Hamby

P.S. I am not on the 'psql-patches' list, so responses should
be sent directly to me for more info or questions.

Attachment

pgsql-patches by date:

Previous
From: "Mark Hamby"
Date:
Subject: Patch (tiny): \cd (change dir) for psql.
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] FAQ_AIX and AIX C++ patches (was: Call for platforms)