From: Tom Lane <tgl@sss.pgh.pa.us>
To: Yudie <yudie@axiontech.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: query configuration for validate empty quote to zero
Date: Mon, 17 Jan 2005 14:23:09 -0500
Message-ID: <9227.1105989789@sss.pgh.pa.us> (raw)
In-Reply-To: <000d01c4fcc4$90fc9b40$a101a8c0@home.axiontech.com>
References: <000d01c4fcc4$90fc9b40$a101a8c0@home.axiontech.com>
"Yudie" <yudie@axiontech.com> writes:
> Now, if I use the same query it return an error:
> invalid input syntax for integer: ""
> Anyone know what's the problem??
None. That's an intentional change. The fact that it ever accepted
'' as meaning 0 was a bug.
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, yudie@axiontech.com
Subject: Re: query configuration for validate empty quote to zero
In-Reply-To: <9227.1105989789@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