From: | Fabrízio de Royes Mello <fabrizio(at)timbira(dot)com(dot)br> |
---|---|
To: | PegoraroF10 <marcos(at)f10(dot)com(dot)br> |
Cc: | Postgres General <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Operator is not unique |
Date: | 2019-09-24 13:49:04 |
Message-ID: | CAPfkCSBb6_18z9snrVA=U5Oa3NzZ3QKDzFq+FL8_ygEk2W+6uA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Em ter, 24 de set de 2019 às 10:35, PegoraroF10 <marcos(at)f10(dot)com(dot)br>
escreveu:
>
> If I do ...
> select 1::NUMERIC + 1::BIGINT;
>
> I get ...
> [42725] ERROR: operator is not unique: numeric + bigint Hint: Could not
> choose a best candidate operator. You might need to add explicit type
casts.
>
Witch version are you using? I tried it against current master and
everything is ok:
fabrizio=# SELECT 1::NUMERIC + 1::BIGINT;
?column?
----------
2
(1 row)
> This error means I have more than one way to calculate that formula ?
> Did I create that operator erroneously ?
>
Did you created an operator for it? Why?
Regards,
--
Fabrízio de Royes Mello Timbira - http://www.timbira.com.br/
PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento
From | Date | Subject | |
---|---|---|---|
Next Message | PegoraroF10 | 2019-09-24 13:51:49 | Re: Operator is not unique |
Previous Message | PegoraroF10 | 2019-09-24 13:35:01 | Operator is not unique |