From: Markus Wagner <wagner@imsd.uni-mainz.de>
To: pgsql-general@postgresql.org
Cc: pgsql-sql@postgresql.org
Subject: how to get more detailed error messages?
Date: Fri, 12 Apr 2002 09:04:10 +0200
Message-ID: <0204120904101G.28384@magnus> (raw)
Hi,
we have a union query over three select queries with some hundred lines of
SQL code, created as a view.
When executing the code we get an error message "ERROR: UNION types "text"
and "int4" not matched" with only the line number of the terminating
semicolon included.
This is a problem that we have with many other sql things, too. The line
number of the semicolon is the only thing we know. If we had the line number
of the error itself we could save much time. Alternatively, if we had the
name of the variables (in the case above) or a little quote of the problem
area, we would have much less trouble.
Isn't there a way to get the parser to talk more precisely???
Thank you very much,
Markus Wagner
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: wagner@imsd.uni-mainz.de, pgsql-general@postgresql.org
Subject: Re: how to get more detailed error messages?
In-Reply-To: <0204120904101G.28384@magnus>
* 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