Re: libpgtcl pg_execute - Mailing list pgsql-interfaces

From Tom Lane
Subject Re: libpgtcl pg_execute
Date
Msg-id 24537.1015209793@sss.pgh.pa.us
Whole thread Raw
In response to Re: libpgtcl pg_execute  (ljb <lbayuk@mindspring.com>)
List pgsql-interfaces
ljb <lbayuk@mindspring.com> writes:
> tgl@sss.pgh.pa.us wrote:
>> Looking at the CVS logs, I see that Jan added this command; he should be
>> blamed for not having added any documentation.  Feel free to contribute
>> a documentation patch ...

> I have documentation, but just as plain text. Unfortunately I don't have
> the tools or know-how to get it (correctly) into SGML at this time.
> What should I do?

Send the plain text to pgsql-docs, someone will do something with it.

>> What's wrong with the -oid code?

> pg_execute throws an error when you use -oid (with no error message), because
> the return value check on Tcl_SetVar is wrong.

Good catch.  Patch applied for 7.3.
        regards, tom lane


pgsql-interfaces by date:

Previous
From: ljb
Date:
Subject: Re: libpgtcl pg_execute
Next
From: "Shabnam Nisha"
Date:
Subject: Error running script