Re: test datatype for ANY

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: NosyMan <nosyman(at)gmail(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: test datatype for ANY
Date: 2005-02-12 02:51:21
Message-ID: 20050212025121.GA72300@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2005-02-12 02:58:03 Re: pg_dump dumping data in order? (used to in 7.4 but not now in 8?)
Previous Message Miles Keaton 2005-02-12 02:10:50 pg_dump dumping data in order? (used to in 7.4 but not now in 8?)