Skip site navigation (1) Skip section navigation (2)

ECPG - Some errno definitions don't match to the manual

From: Satoshi Nagayasu <satoshi(dot)nagayasu(at)gmail(dot)com>
To: pgsql-docs <pgsql-docs(at)postgresql(dot)org>, pgsql-general(at)postgresql(dot)org
Subject: ECPG - Some errno definitions don't match to the manual
Date: 2010-07-22 13:29:52
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-docspgsql-general
Hi all,

I'm looking into some ecpg part of the official manual,
and I have found some strange things.

I'm now investigating SQLCODE and SQLSTATE, and I have found
that some of the errno definitions don't match to the manual.

For example, the manual says that ECPG_CONVERT_BOOL could be `-207'.
However, ECPG_CONVERT_BOOL is defined as `-211' in ecpgerrno.h.

>     This means the host variable is of type bool and the datum in the database is neither 't' nor 'f'. (SQLSTATE 42804)

> #define ECPG_NUMERIC_FORMAT		-207
> #define ECPG_CONVERT_BOOL		-211;content-type=text%2Fx-cvsweb-markup;only_with_tag=REL9_0_STABLE

What does it mean? The manual is not up to date?

Any suggestions?

NAGAYASU Satoshi <satoshi(dot)nagayasu(at)gmail(dot)com>


pgsql-docs by date

Next:From: Craig JamesDate: 2010-07-22 16:57:06
Subject: Re: Using more tha one index per table
Previous:From: Daniele VarrazzoDate: 2010-07-22 09:23:11
Subject: Re: Please provide stable target anchors

pgsql-general by date

Next:From: Andreas Joseph KroghDate: 2010-07-22 13:31:30
Subject: Maximum document-size of text-search?
Previous:From: GeoffreyDate: 2010-07-22 12:37:37
Subject: Re: locating cities within a radius of another

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group