Tom Lane wrote:
> I think it would be shorter and clearer to write
> remoteConn *remconn = NULL;
> remconn = rconn;
> remconn->newXactForCursor = TRUE;
> Also, you might be able to combine this variable with the existing
> rconn local variable and thus simplify the code even more.
Thanks for the review Tom -- as usual, great suggestions. The attached
(simpler) patch makes use of your advice. If there are no objections,
I'll apply this tomorrow evening.
In response to
pgsql-patches by date
|Next:||From: NosyMan||Date: 2005-10-17 06:55:50|
|Subject: Can I use variable to store sql data?|
|Previous:||From: Tom Lane||Date: 2005-10-16 22:10:38|
|Subject: Re: Will PQregisterThreadLock() be documented? |