Re: [HACKERS] Prepared Statement Question

2006-10-09 Thread Strong, David
@postgresql.org Subject: Re: [HACKERS] Prepared Statement Question "Strong, David" <[EMAIL PROTECTED]> writes: > There is similar code for Parameter Lists (ParamListInfo) and Result Format > Codes (rformats). Unless we're missing something, a prepared statement would > proba

Re: [HACKERS] Prepared Statement Question

2006-10-09 Thread Tom Lane
"Strong, David" <[EMAIL PROTECTED]> writes: > There is similar code for Parameter Lists (ParamListInfo) and Result Format > Codes (rformats). Unless we're missing something, a prepared statement would > probably never change once prepared. I think you're missing something. Or are you just prop

[HACKERS] Prepared Statement Question

2006-10-09 Thread Strong, David
We have a question regarding prepared statements. The following code is located in src/backend/tcop/postgres.c: /* Get the parameter format codes */ numPFormats = pq_getmsgint(input_message, 2); if (numPFormats > 0) { int i; pformats = (int16 *) palloc(numPForma