BUG #2223: Misleading info in docs on volatility level of functions

Started by Nonameabout 20 years ago3 messagesbugs
Jump to latest
#1Noname
dueyduey@freemail.hu

The following bug has been logged online:

Bug reference: 2223
Logged by:
Email address: dueyduey@freemail.hu
PostgreSQL version: 8.1
Operating system: linux
Description: Misleading info in docs on volatility level of functions
Details:

Hi, all!
The documentation on how to and why declare a function STABLE or IMMUTABLE
is very laconic. It makes clear what promises I make when determining the
volatility of my functions but it fails to point out what exactly I can
expect in turn for my promises.
See also the discussion on bug#2150 on the pgsql-bugs list.
Thanks for bothering.

#2Jim Nasby
Jim.Nasby@BlueTreble.com
In reply to: Noname (#1)
Re: BUG #2223: Misleading info in docs on volatility level of functions

This was recently discussed on -docs and I believe a patch was applied
to at least HEAD.

On Mon, Jan 30, 2006 at 10:33:35AM +0000, dueyduey@freemail.hu wrote:

The following bug has been logged online:

Bug reference: 2223
Logged by:
Email address: dueyduey@freemail.hu
PostgreSQL version: 8.1
Operating system: linux
Description: Misleading info in docs on volatility level of functions
Details:

Hi, all!
The documentation on how to and why declare a function STABLE or IMMUTABLE
is very laconic. It makes clear what promises I make when determining the
volatility of my functions but it fails to point out what exactly I can
expect in turn for my promises.
See also the discussion on bug#2150 on the pgsql-bugs list.
Thanks for bothering.

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

--
Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461

#3Bruce Momjian
bruce@momjian.us
In reply to: Jim Nasby (#2)
Re: [BUGS] BUG #2223: Misleading info in docs on volatility level of

Jim C. Nasby wrote:

This was recently discussed on -docs and I believe a patch was applied
to at least HEAD.

Yep, patch attached. Any improvements?

---------------------------------------------------------------------------

On Mon, Jan 30, 2006 at 10:33:35AM +0000, dueyduey@freemail.hu wrote:

The following bug has been logged online:

Bug reference: 2223
Logged by:
Email address: dueyduey@freemail.hu
PostgreSQL version: 8.1
Operating system: linux
Description: Misleading info in docs on volatility level of functions
Details:

Hi, all!
The documentation on how to and why declare a function STABLE or IMMUTABLE
is very laconic. It makes clear what promises I make when determining the
volatility of my functions but it fails to point out what exactly I can
expect in turn for my promises.
See also the discussion on bug#2150 on the pgsql-bugs list.
Thanks for bothering.

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

--
Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

Attachments:

/rtmp/difftext/plainDownload+16-16