From: Tom Lane <tgl@sss.pgh.pa.us>
To: Stephan Szabo <sszabo@megazone23.bigpanda.com>
Cc: Ludwig Lim <lud_nowhere_man@yahoo.com>
Cc: PostgreSQL Mailing List <pgsql-sql@postgresql.org>
Subject: Re: Weird NULL behavior
Date: Thu, 07 Nov 2002 15:00:51 -0500
Message-ID: <28472.1036699251@sss.pgh.pa.us> (raw)
In-Reply-To: <20021107113216.S99207-100000@megazone23.bigpanda.com>
References: <20021107113216.S99207-100000@megazone23.bigpanda.com>
Stephan Szabo <sszabo@megazone23.bigpanda.com> writes:
> On Thu, 7 Nov 2002, Tom Lane wrote:
>> I am kind of inclined to remove the arithmetic operators on "char"
>> (+,-,*,/) in 7.4 --- they don't seem to have any real-world uses,
>> and as this example illustrates, they are perfectly positioned to
>> capture cases that probably ought to be errors.
> That seems to make sense. I assume that they were there so that someone
> could treat it as a 1 byte integer?
Presumably ... but defining a numeric type named "int1" would be a lot
more sensible than overloading "char" for the purpose.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, sszabo@megazone23.bigpanda.com, lud_nowhere_man@yahoo.com
Subject: Re: Weird NULL behavior
In-Reply-To: <28472.1036699251@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox