Re: Separate psql commands from arguments (was: psql command aliases support)

From: "Brendan Jurd" <direvus(at)gmail(dot)com>
To: "Bernd Helmle" <mailings(at)oopsware(dot)de>
Cc: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org, "Gregory Stark" <stark(at)enterprisedb(dot)com>, "Peter Eisentraut" <peter_e(at)gmx(dot)net>
Subject: Re: Separate psql commands from arguments (was: psql command aliases support)
Date: 2008-04-03 19:52:37
Message-ID: 37ed240d0804031252k3011e686hbf4bdb1f8857466c@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, Apr 4, 2008 at 6:35 AM, Bernd Helmle wrote:
> Here's a quick and dirty patch which removes the responsible code from psql
> (maybe not enough, but short testing shows it's working). Sorry for the
> unified diff....
>

I didn't realise it would be that straightforward!

You could probably also do away with psql_scan_slash_pushback()
(psqlcan.h, psqlcan.l) as it is only used by the code you removed.

Cheers,
BJ
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: http://getfiregpg.org

iD8DBQFH9TV85YBsbHkuyV0RAq2aAKC5ay/QJQu9De9Ivq1kcgUFOGUa9gCgyB0c
wt1IjpIZH26O7DiWxf0nXE0=
=7Ybj
-----END PGP SIGNATURE-----

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-04-03 19:57:38 Re: COPY Transform support
Previous Message Merlin Moncure 2008-04-03 19:43:50 Re: psql \G command -- send query and output using extended format