Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old November 23rd, 2005, 01:37 AM
Eric B.Ridge
Guest
 
Posts: n/a
Default PG 8.0beta: psql suggestion

Been playing with the 8.0 beta of Postgres. It seems really nice. One
new thing I noticed is 'psql' displays RULE definitions in the \d
<viewname> output. This is nice compared to 7.3.x's inability to see
RULE definitions at all.

However, this makes the output of \d completely useless. Maybe my rule
definitions are atypically complex, but having 300+ lines of RULE
definitions in my face gets in the way. The output for one particular
view fills my scrollback buffer such that I can't get to the actual
view definition! :(

What about moving the RULE definition output to \d+? According to the
online help, the '+' is supposed to mean "more detail".

Alternatively, maybe a new command, \dr <viewname> to list out only the
rules for the specified view (or table)?

Anyways, thanks for the hard work on 8.0. Can't wait for it to get out
of beta!

eric


---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

 

Bookmarks

Thread Tools

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

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles