mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
My first cut at libpq revision didn't handle MULTIBYTE correctly,
but I think it's OK now...
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/tcop/dest.c,v 1.26 1999/04/25 03:19:09 tgl Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/tcop/dest.c,v 1.27 1999/04/25 19:27:45 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -155,8 +155,7 @@ BeginCommand(char *pname,
|
||||
|
||||
for (i = 0; i < natts; ++i)
|
||||
{
|
||||
pq_sendstring(&buf, attrs[i]->attname.data,
|
||||
strlen(attrs[i]->attname.data));
|
||||
pq_sendstring(&buf, attrs[i]->attname.data);
|
||||
pq_sendint(&buf, (int) attrs[i]->atttypid,
|
||||
sizeof(attrs[i]->atttypid));
|
||||
pq_sendint(&buf, attrs[i]->attlen,
|
||||
|
Reference in New Issue
Block a user