Re: test datatype for ANY - Mailing list pgsql-general

From Michael Fuhr
Subject Re: test datatype for ANY
Date
Msg-id 20050212025121.GA72300@winnie.fuhr.org
Whole thread Raw
In response to Re: test datatype for ANY  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: test datatype for ANY  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On Fri, Feb 11, 2005 at 03:37:01PM -0500, Tom Lane wrote:

> [ thinks about that for awhile... ]  Oh, I see.  The reason this appears
> to work is that plpgsql compiles a separate version of the function for
> each actual parameter datatype that is used in a given session.  So in
> your example, you get a separate version for integer, numeric, etc.

Is that the general case for polymorphic functions?

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

pgsql-general by date:

Previous
From: Miles Keaton
Date:
Subject: pg_dump dumping data in order? (used to in 7.4 but not now in 8?)
Next
From: Tom Lane
Date:
Subject: Re: pg_dump dumping data in order? (used to in 7.4 but not now in 8?)