Re: lexing small ints as int2

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Alvaro Herrera <alvherre(at)commandprompt(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: lexing small ints as int2
Date: 2010-09-05 05:05:32
Message-ID: 10295.1283663132@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Robert Haas <robertmhaas(at)gmail(dot)com> writes:
> I am not too sure that the distinction between implicit casts and
> assignment casts is all that useful;

We've been there and done that; it doesn't work. The current scheme
was invented specifically because a two-way design didn't work.

http://archives.postgresql.org/pgsql-hackers/2002-09/msg00900.php

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2010-09-05 06:36:33 proposal: tsearch dictionary initialization hook
Previous Message Robert Haas 2010-09-05 02:58:25 Re: Streaming a base backup from master