Re: psql - missing tab-completion support for tablespaces

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Gaetano Mendola <mendola(at)bigfoot(dot)com>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, pgsql-patches(at)postgresql(dot)org
Subject: Re: psql - missing tab-completion support for tablespaces
Date: 2004-08-09 14:40:13
Message-ID: 14616.1092062413@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Gaetano Mendola <mendola(at)bigfoot(dot)com> writes:
> About this I usefull have in the "rollback to <tab> <tab>" the list of save
> point, I did the autocomplete patch for the nested transaction but I was not
> able to retrieve the "active" savepoints, is it really impossible to hack
> that part ?

There isn't any way to query the server about the set of open savepoint
names. I thought of adding a function for this, but gave up when I
realized that the time you'd really want to know is when your
transaction is aborted ... and the server will refuse to execute any
query in that case :-(

regards, tom lane

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Andrew Dunstan 2004-08-09 15:19:08 Re: PITR on Win32 - Archive and Restore
Previous Message Tom Lane 2004-08-09 14:29:23 Re: PITR on Win32 - Archive and Restore