Re: psql tab-completion for COMMIT/ROLLBACK PREPARED - Mailing list pgsql-patches

From Heikki Linnakangas
Subject Re: psql tab-completion for COMMIT/ROLLBACK PREPARED
Date
Msg-id Pine.OSF.4.61.0507012325000.419432@kosh.hut.fi
Whole thread Raw
In response to psql tab-completion for COMMIT/ROLLBACK PREPARED  (Heikki Linnakangas <hlinnaka@iki.fi>)
List pgsql-patches
Oh, just realized after Tom's reply that you were talking about help, not
tab-completion...

On Fri, 1 Jul 2005, Heikki Linnakangas wrote:

> On Fri, 1 Jul 2005, Bruce Momjian wrote:
>
>> Heikki Linnakangas wrote:
>>> On Fri, 1 Jul 2005, Oliver Jowett wrote:
>>>
>>>> PS: noticed in passing: psql's help doesn't seem to know about the 2PC
>>>> command syntax yet.
>>>
>>> True.
>>>
>>> Should we add support for it? 2PC is not something you normally do
>>> interactively...
>>
>> Yes, we should add psql support for it.
>
> Ok, here's a patch.
>
> There's no tab-completion for "PREPARE TRANSACTION 'xxx'" since that would be
> ambigous with "PREPARE xxx AS xx".
>
> - Heikki

- Heikki

pgsql-patches by date:

Previous
From: Heikki Linnakangas
Date:
Subject: psql tab-completion for COMMIT/ROLLBACK PREPARED
Next
From: Bruce Momjian
Date:
Subject: Use of E'' in pg_dump