Re: Domain types versus anyelement

From: Brendan Jurd <direvus(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Domain types versus anyelement
Date: 2009-09-03 06:41:07
Message-ID: 37ed240d0909022341ra7db062m75ba53306c75ec7d@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

2009/9/3 Brendan Jurd <direvus(at)gmail(dot)com>:
> # select greater(1::aud, 0);
> ERROR:  function greater(aud, integer) does not exist
> LINE 1: select greater(1::aud, 0);
>               ^
> HINT:  No function matches the given name and argument types. You
> might need to add explicit type casts.
>

Apologies for the spam, I just realised that it's because all
anyelement args in the call to greater() must be the same type.

Cheers,
BJ

In response to

Browse pgsql-general by date

  From Date Subject
Next Message gorsa 2009-09-03 07:23:07 maximum count of contiguous years
Previous Message Brendan Jurd 2009-09-03 06:37:39 Domain types versus anyelement