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

From Heikki Linnakangas
Subject psql tab-completion for COMMIT/ROLLBACK PREPARED
Date
Msg-id Pine.OSF.4.61.0507012139060.419432@kosh.hut.fi
Whole thread Raw
Responses Re: psql tab-completion for COMMIT/ROLLBACK PREPARED
Re: psql tab-completion for COMMIT/ROLLBACK PREPARED
List pgsql-patches
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

Attachment

pgsql-patches by date:

Previous
From: Andrew Dunstan
Date:
Subject: plperl return array support revisited
Next
From: Heikki Linnakangas
Date:
Subject: Re: psql tab-completion for COMMIT/ROLLBACK PREPARED