Re: Type resolution for operators

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>
Cc: Hackers List <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Type resolution for operators
Date: 2000-11-08 16:51:38
Message-ID: Pine.LNX.4.21.0011081750400.1138-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Thomas Lockhart writes:

> (and returns 'false'). To force these to be handled as integers, prefix
> one with the "int" type specifier:
>
> select int '1' = '01';
>
> which, btw, returns 'true'.

Uh, how can an integer be equal to a character value? Where did the type
system go?

--
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2000-11-08 17:08:42 Re: Type resolution for operators
Previous Message Tom Lane 2000-11-08 16:42:40 Re: Unhappy thoughts about pg_dump and objects inherited from template1