From: | Markus Wagner <wagner(at)imsd(dot)uni-mainz(dot)de> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Cc: | pgsql-sql(at)postgresql(dot)org |
Subject: | How to get more detailed error messages? |
Date: | 2002-04-12 06:11:54 |
Message-ID: | 0204120811540C.28384@magnus |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-sql |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Ed Loehr | 2002-04-12 06:23:24 | 7.2.1 PL/pgSQL issue |
Previous Message | Oleg Bartunov | 2002-04-12 05:41:23 | Re: Critical performance problems on large databases |
From | Date | Subject | |
---|---|---|---|
Next Message | Markus Wagner | 2002-04-12 07:04:10 | how to get more detailed error messages? |
Previous Message | Jason Earl | 2002-04-12 00:00:15 | Re: Inserting values into numeric fields |