dbTalk Databases Forums  

[BUGS] BUG #1205: psql toggles

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


Discuss [BUGS] BUG #1205: psql toggles in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
PostgreSQL Bugs List
 
Posts: n/a

Default [BUGS] BUG #1205: psql toggles - 08-05-2004 , 09:36 AM







The following bug has been logged online:

Bug reference: 1205
Logged by: Doug Bloebaum

Email address: bloebaum (AT) dma (DOT) org

PostgreSQL version: 7.4

Operating system: SuSE Linux 9.1 (i586)

Description: psql toggles

Details:

This is a feature request, not a bug:

In psql there is an internal slash command \t (and the equivalent \pset
tuples_only) which toggles a "rows only" result mode.

The problem is that when writing utility SQL scripts to create output, you
can't tell which mode you're toggling to, as the user may have changed
settings within the current session. The same can be said for all the
"toggle" commands, really.

My request is that at least the \pset versions of the toggle commands take
an "on" or "off" argument, in order to make setting things more discrete.
Something like:

\pset tuples_only off
\pset tuples_only on

Thanks for listening!



---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo (AT) postgresql (DOT) org so that your
message can get through to the mailing list cleanly

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.