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

Re: ECPG DESCRIBE [OUTPUT] support

From: Boszormenyi Zoltan <zb(at)cybertec(dot)at>
To: Michael Meskes <meskes(at)postgresql(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org, Hans-Juergen Schoenig <hs(at)cybertec(dot)at>
Subject: Re: ECPG DESCRIBE [OUTPUT] support
Date: 2010-01-15 12:16:18
Message-ID: 4B505C92.90907@cybertec.at (view raw or flat)
Thread:
Lists: pgsql-hackers
Hi,

I just saw that you committed the DESCRIBE patch.

Please, also add this small change that adds ecpg_raise()
calls to ECPGdescribe() to return the proper sqlca error
in error paths for:
- unsupported call for DESCRIBE INPUT
- no such connection name
- no such prepared statement

Thanks and best regards,
Zoltán Böszörményi

-- 
Bible has answers for everything. Proof:
"But let your communication be, Yea, yea; Nay, nay: for whatsoever is more
than these cometh of evil." (Matthew 5:37) - basics of digital technology.
"May your kingdom come" - superficial description of plate tectonics

----------------------------------
Zoltán Böszörményi
Cybertec Schönig & Schönig GmbH
http://www.postgresql.at/


Attachment: 3.1-describe-add-errors-2.patch
Description: text/x-patch (1.1 KB)

In response to

Responses

pgsql-hackers by date

Next:From: Peter EisentrautDate: 2010-01-15 12:18:13
Subject: Re: missing data in information_schema grant_* tables?
Previous:From: Heikki LinnakangasDate: 2010-01-15 12:05:32
Subject: Re: About "Our CLUSTER implementation is pessimal" patch

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