Re: Wrong SQLSTATE returned? - Mailing list pgsql-novice

From Tom Lane
Subject Re: Wrong SQLSTATE returned?
Date
Msg-id 566.1117943897@sss.pgh.pa.us
Whole thread Raw
In response to Wrong SQLSTATE returned?  (Babak Asadi <basadi@gmail.com>)
List pgsql-novice
Babak Asadi <basadi@gmail.com> writes:
> I'm using ADO to connect to my PostgreSQL instance. When I use a
> SELECT statement that references a non-existent column in an existing
> table I get a SQLSTATE error S1000 code with native error code 7.

> Am I not supposed to get a SQLSTATE code of: 42703 UNDEFINED COLUMN?

Well, there is certainly no part of the Postgres code that will return
'S1000', so I have to suppose that ADO is inserting that SQLSTATE value.
You'd probably best ask about this on an ADO list ...

            regards, tom lane

pgsql-novice by date:

Previous
From: "Michael Avila"
Date:
Subject: Install Errors
Next
From: John DeSoi
Date:
Subject: Re: Auto Increment Questions