Re: Separate psql commands from arguments (was: psql command aliases support) - Mailing list pgsql-hackers

From Brendan Jurd
Subject Re: Separate psql commands from arguments (was: psql command aliases support)
Date
Msg-id 37ed240d0804031252k3011e686hbf4bdb1f8857466c@mail.gmail.com
Whole thread Raw
In response to Re: Separate psql commands from arguments (was: psql command aliases support)  (Bernd Helmle <mailings@oopsware.de>)
Responses Re: Separate psql commands from arguments (was: psql command aliases support)  (Bernd Helmle <mailings@oopsware.de>)
List 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-----


pgsql-hackers by date:

Previous
From: "Merlin Moncure"
Date:
Subject: Re: psql \G command -- send query and output using extended format
Next
From: Tom Lane
Date:
Subject: Re: COPY Transform support