Unix Technical Forum

\df displaying volatility

This is a discussion on \df displaying volatility within the pgsql Hackers forums, part of the PostgreSQL category; --> Would anyone object to \df displaying a function's volatility? Maybe limit it to \df+? Ideally we would have a ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Hackers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-24-2008, 07:11 AM
Alvaro Herrera
 
Posts: n/a
Default \df displaying volatility

Would anyone object to \df displaying a function's volatility? Maybe
limit it to \df+?

Ideally we would have a short header for the column so that it doesn't
take too much space, and specify the setting with a single letter. The
meaning of each letter we could display at the bottom of the table as a
footer (something we were going to do for \z too I think?)

Thoughts?

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-24-2008, 07:11 AM
Joshua D. Drake
 
Posts: n/a
Default Re: \df displaying volatility

Alvaro Herrera wrote:
> Would anyone object to \df displaying a function's volatility? Maybe
> limit it to \df+?
>
> Ideally we would have a short header for the column so that it doesn't
> take too much space, and specify the setting with a single letter. The
> meaning of each letter we could display at the bottom of the table as a
> footer (something we were going to do for \z too I think?)
>
> Thoughts?


I think it would be about time +1

Joshua D. Drake



--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-29-2008, 10:42 AM
Michael Glaesemann
 
Posts: n/a
Default Re: \df displaying volatility


On May 23, 2008, at 8:57 PM, Joshua D. Drake wrote:

> Alvaro Herrera wrote:
>> Would anyone object to \df displaying a function's volatility? Maybe
>> limit it to \df+?
>> Ideally we would have a short header for the column so that it
>> doesn't
>> take too much space, and specify the setting with a single letter.
>> The
>> meaning of each letter we could display at the bottom of the table
>> as a
>> footer (something we were going to do for \z too I think?)
>> Thoughts?

>
> I think it would be about time +1


I'd like to see the function comment as well in \df+. (And probably
for most database objects that don't already show the comment.)

Michael Glaesemann
michael.glaesemann@myyearbook.com




--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 05-29-2008, 10:42 AM
Tom Lane
 
Posts: n/a
Default Re: \df displaying volatility

Alvaro Herrera <alvherre@commandprompt.com> writes:
> Would anyone object to \df displaying a function's volatility? Maybe
> limit it to \df+?


Huh? \df+ has displayed volatility for a long time, and I don't recall
any great demand to move it into \df.

regards, tom lane

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 05-29-2008, 10:42 AM
Alvaro Herrera
 
Posts: n/a
Default Re: \df displaying volatility

Tom Lane wrote:
> Alvaro Herrera <alvherre@commandprompt.com> writes:
> > Would anyone object to \df displaying a function's volatility? Maybe
> > limit it to \df+?

>
> Huh? \df+ has displayed volatility for a long time, and I don't recall
> any great demand to move it into \df.


Hmm, right. Maybe the problem I have is that we made \df+ so wide so as
to be almost useless by now ...

I think this is mostly caused by the "args" column getting too wide.
Can we remove the OUT params from it?

BTW what happened to the idea of displaying only user functions by
default?

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 05-29-2008, 10:42 AM
David Fetter
 
Posts: n/a
Default Re: \df displaying volatility

On Sun, May 25, 2008 at 10:05:10AM -0400, Alvaro Herrera wrote:
> Tom Lane wrote:
> > Alvaro Herrera <alvherre@commandprompt.com> writes:
> > > Would anyone object to \df displaying a function's volatility? Maybe
> > > limit it to \df+?

> >
> > Huh? \df+ has displayed volatility for a long time, and I don't recall
> > any great demand to move it into \df.

>
> Hmm, right. Maybe the problem I have is that we made \df+ so wide so as
> to be almost useless by now ...
>
> I think this is mostly caused by the "args" column getting too wide.
> Can we remove the OUT params from it?


Not a great idea. Maybe having the output of \df+ be \x'd would help
more.

> BTW what happened to the idea of displaying only user functions by
> default?


Some of the people who'd approve such a patch have trouble imagining
why the other 99.99%+ of the use base find having the system functions
appear by default to be useless clutter

Cheers,
David.
--
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david.fetter@gmail.com

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 05-29-2008, 10:42 AM
Tom Lane
 
Posts: n/a
Default Re: \df displaying volatility

David Fetter <david@fetter.org> writes:
> On Sun, May 25, 2008 at 10:05:10AM -0400, Alvaro Herrera wrote:
>> Hmm, right. Maybe the problem I have is that we made \df+ so wide so as
>> to be almost useless by now ...
>>
>> I think this is mostly caused by the "args" column getting too wide.
>> Can we remove the OUT params from it?


> Not a great idea.


Yeah, you'd certainly have to provide them somewhere, and so this would
just amount to splitting one column into two.

>> BTW what happened to the idea of displaying only user functions by
>> default?


IIRC it was more-or-less agreed to that the 'S' modifier ought to work
uniformly for all object types the way it does now for tables, but there
is no patch in the queue.

regards, tom lane

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 05-29-2008, 10:42 AM
David Fetter
 
Posts: n/a
Default Re: \df displaying volatility

On Sun, May 25, 2008 at 01:39:50PM -0400, Tom Lane wrote:
> David Fetter <david@fetter.org> writes:
> > On Sun, May 25, 2008 at 10:05:10AM -0400, Alvaro Herrera wrote:
> >> Hmm, right. Maybe the problem I have is that we made \df+ so
> >> wide so as to be almost useless by now ...
> >>
> >> I think this is mostly caused by the "args" column getting too
> >> wide. Can we remove the OUT params from it?

>
> > Not a great idea.

>
> Yeah, you'd certainly have to provide them somewhere, and so this
> would just amount to splitting one column into two.


How about splitting them up with newlines instead of (or in addition
to) commas?

> >> BTW what happened to the idea of displaying only user functions
> >> by default?

>
> IIRC it was more-or-less agreed to that the 'S' modifier ought to
> work uniformly for all object types the way it does now for tables,
> but there is no patch in the queue.


OK, since I did the whining, I get to prepare a patch. I'll see how
far I can get today.

Cheers,
David.
--
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david.fetter@gmail.com

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 05-29-2008, 10:42 AM
Greg Sabino Mullane
 
Posts: n/a
Default Re: \df displaying volatility


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160


> BTW what happened to the idea of displaying only user
> functions by default?


It's waiting on me to submit an updated patch, per Heikki's
request. I'll try to get one out this week.

- --
Greg Sabino Mullane greg@turnstep.com
PGP Key: 0x14964AC8 200805251718
http://biglumber.com/x/web?pk=2529DF...9B906714964AC8
-----BEGIN PGP SIGNATURE-----

iEYEAREDAAYFAkg515sACgkQvJuQZxSWSsjHSACgk2LoV4IHn3 6VyM2ubbShQGxR
Tl0AoILbyhbHCdcFjjr3+Kps6/2EYoQ+
=p6f6
-----END PGP SIGNATURE-----



--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:51 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com