From: Joel Mc Graw <jpmcgraw1@home.com>
To: pgsql-sql@postgresql.org
Subject: 7.0.3 and 7.1.3 different results?
Date: Mon, 01 Oct 2001 14:14:35 -0700
Message-ID: <3BB8DCBB.8C96D5AC@home.com> (raw)
A query such as "select sum(pages) from job_documents where
delivery_type='print'" returned 0 in version 7.0.3 if there were no rows
matching the query. In 7.1.3 the result is NULL if no rows match the
query. Why the change? Which result is "correct" according to the SQL
standard?
I'm running PostgreSQL 7.1.3 on FreeBSD 4.3 (x86).
TIA.
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: jpmcgraw1@home.com
Subject: Re: 7.0.3 and 7.1.3 different results?
In-Reply-To: <3BB8DCBB.8C96D5AC@home.com>
* 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