1
0
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:
Tom Lane
1999-04-25 19:27:47 +00:00
parent fad6f2925c
commit 40cad8b66f
5 changed files with 53 additions and 78 deletions

View File

@ -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,