Patch (tiny): \cd (change dir) for psql.

From: "Mark Hamby" <mark(at)archer(dot)leavenworth(dot)army(dot)mil>
To: <pgsql-general(at)postgresql(dot)org>, <pgsql-patches(at)postgresql(dot)org>
Subject: Patch (tiny): \cd (change dir) for psql.
Date: 2001-03-26 16:57:24
Message-ID: NCBBJHAODFJBGACGMCEJAEFACHAA.mark@archer.leavenworth.army.mil
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-patches


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 Content-Type Size
cd-patch.dif application/octet-stream 1.6 KB

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Marcos 2001-03-26 17:04:00 create user
Previous Message Thomas Lockhart 2001-03-26 16:18:33 Re: Re: Call for platforms

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2001-03-26 19:33:11 Re: Patch (tiny): \cd (change dir) for psql [with feedback]
Previous Message Tom Lane 2001-03-26 15:16:17 Re: RC1 on Native Win32 - patch required