dbTalk Databases Forums  

[BUGS] BUG #1539: Suggestion

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] BUG #1539: Suggestion in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Patrick Boulay
 
Posts: n/a

Default [BUGS] BUG #1539: Suggestion - 03-13-2005 , 08:03 PM







The following bug has been logged online:

Bug reference: 1539
Logged by: Patrick Boulay
Email address: pboulay (AT) medrium (DOT) com
PostgreSQL version: 7.4.5
Operating system: Unix Solaris
Description: Suggestion
Details:

Sometime I do transaction and I do a couple of commands on SQL shell and I
forgot to commit my commands before testing my software.

Is it possible to change a prompt character during a transaction?
instead of:
database=#

it can be
database=>

or something like that!! After the commit, the prompt come back to
database=#

example:
database=# begin;
database=> insert into somewhere values(1);
....
database=> end;
database=#

it's more clear!

Patrick

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

Reply With Quote
  #2  
Old   
Tom Lane
 
Posts: n/a

Default Re: [BUGS] BUG #1539: Suggestion - 03-13-2005 , 11:11 PM






"Patrick Boulay" <pboulay (AT) medrium (DOT) com> writes:
Quote:
Is it possible to change a prompt character during a transaction?
Yes, read the psql reference page's section about "Prompting".

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.