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

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: (view raw, whole thread or download thread mbox)
Lists: pgsql-generalpgsql-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: cd-patch.dif
Description: application/octet-stream (1.6 KB)


pgsql-patches by date

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

pgsql-general by date

Next:From: MarcosDate: 2001-03-26 17:04:00
Subject: create user
Previous:From: Thomas LockhartDate: 2001-03-26 16:18:33
Subject: Re: Re: Call for platforms

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