Re: psql tab-completion for COMMIT/ROLLBACK PREPARED

From: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
To: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, pgsql-patches(at)postgresql(dot)org, Oliver Jowett <oliver(at)opencloud(dot)com>, Kenneth Marshall <ktm(at)is(dot)rice(dot)edu>
Subject: Re: psql tab-completion for COMMIT/ROLLBACK PREPARED
Date: 2005-07-01 20:26:33
Message-ID: Pine.OSF.4.61.0507012325000.419432@kosh.hut.fi
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-07-01 20:29:27 Re: Regression test plpgsql vs. rangefuncs conflict
Previous Message Stephen Frost 2005-07-01 20:20:20 Re: [PATCHES] Users/Groups -> Roles

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2005-07-01 20:57:18 Re: [PATCHES] Users/Groups -> Roles
Previous Message Stephen Frost 2005-07-01 20:20:20 Re: [PATCHES] Users/Groups -> Roles