diff -ru ../../../orig/postgres95/src/backend/utils/adt/varlena.c ./utils/adt/varlena.c - --- ../../../orig/postgres95/src/backend/utils/adt/varlena.c    Mon Jul 22 23:56:04 1996 +++ ./utils/adt/varlena.c       Tue Sep 17 15:12:55 1996 @@ -166,7 +166,7 @@
diff -ru ../../../orig/postgres95/src/backend/utils/adt/varlena.c
./utils/adt/varlena.c
- --- ../../../orig/postgres95/src/backend/utils/adt/varlena.c    Mon Jul 22
23:56:04 1996
+++ ./utils/adt/varlena.c       Tue Sep 17 15:12:55 1996
@@ -166,7 +166,7 @@

     if (inputText == NULL)
        return(NULL);
- -    len = strlen(inputText) + VARHDRSZ;
+    len = strlen(inputText) + VARHDRSZ + 1 /* terminating 0 */;
     result = (struct varlena *) palloc(len);
     VARSIZE(result) = len;
     memmove(VARDATA(result), inputText, len - VARHDRSZ);


Submitted by: skimo@breughel.ufsia.ac.be (Sven Verdoolaege)

lisakowen/gpdb,rvs/gpdb,tangp3/gpdb,xuegang/gpdb,xinzweb/gpdb,janebeckman/gpdb,kaknikhil/gpdb,lisakowen/gpdb,Postgres-XL/Postgres-XL,ashwinstar/gpdb,greenplum-db/gpdb,techdragon/Postgres-XL,kaknikhil/gpdb,Quikling/gpdb,ahachete/gpdb,kmjungersen/PostgresXL,0x0FFF/gpdb,rvs/gpdb,randomtask1155/gpdb,Chibin/gpdb,lisakowen/gpdb,Quikling/gpdb,lintzc/gpdb,postmind-net/postgres-xl,zaksoup/gpdb,kmjungersen/PostgresXL,randomtask1155/gpdb,royc1/gpdb,ashwinstar/gpdb,royc1/gpdb,rvs/gpdb,tangp3/gpdb,edespino/gpdb,ahachete/gpdb,edespino/gpdb,Chibin/gpdb,royc1/gpdb,jmcatamney/gpdb,techdragon/Postgres-XL,cjcjameson/gpdb,zeroae/postgres-xl,lisakowen/gpdb,foyzur/gpdb,0x0FFF/gpdb,0x0FFF/gpdb,postmind-net/postgres-xl,xinzweb/gpdb,chrishajas/gpdb,janebeckman/gpdb,ashwinstar/gpdb,lpetrov-pivotal/gpdb,atris/gpdb,xuegang/gpdb,lisakowen/gpdb,yuanzhao/gpdb,rvs/gpdb,xuegang/gpdb,0x0FFF/gpdb,chrishajas/gpdb,50wu/gpdb,greenplum-db/gpdb,CraigHarris/gpdb,jmcatamney/gpdb,chrishajas/gpdb,tangp3/gpdb,adam8157/gpdb,zeroae/postgres-xl,lintzc/gpdb,lpetrov-pivotal/gpdb,Quikling/gpdb,xinzweb/gpdb,Chibin/gpdb,ovr/postgres-xl,yuanzhao/gpdb,kmjungersen/PostgresXL,xuegang/gpdb,rubikloud/gpdb,yuanzhao/gpdb,Postgres-XL/Postgres-XL,edespino/gpdb,lintzc/gpdb,Quikling/gpdb,chrishajas/gpdb,atris/gpdb,CraigHarris/gpdb,jmcatamney/gpdb,tpostgres-projects/tPostgres,tangp3/gpdb,tangp3/gpdb,randomtask1155/gpdb,snaga/postgres-xl,kaknikhil/gpdb,arcivanov/postgres-xl,edespino/gpdb,lisakowen/gpdb,lintzc/gpdb,yuanzhao/gpdb,oberstet/postgres-xl,yazun/postgres-xl,randomtask1155/gpdb,lpetrov-pivotal/gpdb,zaksoup/gpdb,0x0FFF/gpdb,Chibin/gpdb,janebeckman/gpdb,kaknikhil/gpdb,atris/gpdb,rvs/gpdb,xinzweb/gpdb,janebeckman/gpdb,CraigHarris/gpdb,rubikloud/gpdb,tpostgres-projects/tPostgres,ovr/postgres-xl,lpetrov-pivotal/gpdb,50wu/gpdb,kaknikhil/gpdb,cjcjameson/gpdb,yazun/postgres-xl,Chibin/gpdb,zeroae/postgres-xl,pavanvd/postgres-xl,CraigHarris/gpdb,jmcatamney/gpdb,adam8157/gpdb,kmjungersen/PostgresXL,cjcjameson/gpdb,ahachete/gpdb,50wu/gpdb,CraigHarris/gpdb,rvs/gpdb,foyzur/gpdb,yazun/postgres-xl,50wu/gpdb,cjcjameson/gpdb,adam8157/gpdb,rvs/gpdb,tangp3/gpdb,arcivanov/postgres-xl,arcivanov/postgres-xl,adam8157/gpdb,edespino/gpdb,tpostgres-projects/tPostgres,jmcatamney/gpdb,adam8157/gpdb,pavanvd/postgres-xl,royc1/gpdb,kaknikhil/gpdb,kaknikhil/gpdb,xuegang/gpdb,lintzc/gpdb,zaksoup/gpdb,xuegang/gpdb,tangp3/gpdb,cjcjameson/gpdb,cjcjameson/gpdb,tpostgres-projects/tPostgres,foyzur/gpdb,rubikloud/gpdb,rubikloud/gpdb,50wu/gpdb,zeroae/postgres-xl,lintzc/gpdb,foyzur/gpdb,Chibin/gpdb,Postgres-XL/Postgres-XL,50wu/gpdb,Quikling/gpdb,Chibin/gpdb,tangp3/gpdb,Quikling/gpdb,cjcjameson/gpdb,jmcatamney/gpdb,rvs/gpdb,snaga/postgres-xl,ovr/postgres-xl,yazun/postgres-xl,tpostgres-projects/tPostgres,ovr/postgres-xl,kmjungersen/PostgresXL,atris/gpdb,Chibin/gpdb,Quikling/gpdb,ashwinstar/gpdb,Postgres-XL/Postgres-XL,greenplum-db/gpdb,rvs/gpdb,xinzweb/gpdb,chrishajas/gpdb,foyzur/gpdb,postmind-net/postgres-xl,greenplum-db/gpdb,adam8157/gpdb,CraigHarris/gpdb,janebeckman/gpdb,xinzweb/gpdb,snaga/postgres-xl,lpetrov-pivotal/gpdb,yuanzhao/gpdb,postmind-net/postgres-xl,lintzc/gpdb,yazun/postgres-xl,zaksoup/gpdb,pavanvd/postgres-xl,Chibin/gpdb,edespino/gpdb,Quikling/gpdb,janebeckman/gpdb,lpetrov-pivotal/gpdb,cjcjameson/gpdb,CraigHarris/gpdb,royc1/gpdb,ahachete/gpdb,Chibin/gpdb,janebeckman/gpdb,xinzweb/gpdb,ashwinstar/gpdb,ahachete/gpdb,janebeckman/gpdb,randomtask1155/gpdb,randomtask1155/gpdb,chrishajas/gpdb,50wu/gpdb,chrishajas/gpdb,arcivanov/postgres-xl,zaksoup/gpdb,royc1/gpdb,rubikloud/gpdb,greenplum-db/gpdb,postmind-net/postgres-xl,lpetrov-pivotal/gpdb,randomtask1155/gpdb,0x0FFF/gpdb,oberstet/postgres-xl,0x0FFF/gpdb,atris/gpdb,Quikling/gpdb,ovr/postgres-xl,arcivanov/postgres-xl,Quikling/gpdb,CraigHarris/gpdb,xuegang/gpdb,lintzc/gpdb,zaksoup/gpdb,pavanvd/postgres-xl,cjcjameson/gpdb,lisakowen/gpdb,xuegang/gpdb,zaksoup/gpdb,snaga/postgres-xl,zeroae/postgres-xl,randomtask1155/gpdb,rvs/gpdb,foyzur/gpdb,royc1/gpdb,jmcatamney/gpdb,jmcatamney/gpdb,rubikloud/gpdb,kaknikhil/gpdb,ashwinstar/gpdb,oberstet/postgres-xl,oberstet/postgres-xl,techdragon/Postgres-XL,yuanzhao/gpdb,atris/gpdb,techdragon/Postgres-XL,yuanzhao/gpdb,ashwinstar/gpdb,kaknikhil/gpdb,foyzur/gpdb,ahachete/gpdb,snaga/postgres-xl,edespino/gpdb,rubikloud/gpdb,foyzur/gpdb,edespino/gpdb,pavanvd/postgres-xl,atris/gpdb,royc1/gpdb,adam8157/gpdb,yuanzhao/gpdb,0x0FFF/gpdb,oberstet/postgres-xl,CraigHarris/gpdb,greenplum-db/gpdb,50wu/gpdb,cjcjameson/gpdb,yuanzhao/gpdb,janebeckman/gpdb,greenplum-db/gpdb,yuanzhao/gpdb,atris/gpdb,lpetrov-pivotal/gpdb,ahachete/gpdb,janebeckman/gpdb,rubikloud/gpdb,lintzc/gpdb,adam8157/gpdb,xinzweb/gpdb,kaknikhil/gpdb,ashwinstar/gpdb,lisakowen/gpdb,arcivanov/postgres-xl,xuegang/gpdb,greenplum-db/gpdb,edespino/gpdb,zaksoup/gpdb,chrishajas/gpdb,Postgres-XL/Postgres-XL,ahachete/gpdb,edespino/gpdb,techdragon/Postgres-XL