pgsql-server/ ontrib/cube/cubeparse.y ontrib/i ...

From: momjian(at)postgresql(dot)org (Bruce Momjian - CVS)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server/ ontrib/cube/cubeparse.y ontrib/i ...
Date: 2002-09-02 06:11:43
Message-ID: 20020902061143.886E1475BB3@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: momjian(at)postgresql(dot)org 02/09/02 02:11:43

Modified files:
contrib/cube : cubeparse.y
contrib/intarray: _int.c
contrib/seg : segparse.y
contrib/spi : refint.c timetravel.c
doc/src/sgml : spi.sgml
src/backend/parser: analyze.c
src/backend/storage/file: fd.c
src/backend/utils/adt: ri_triggers.c
src/bin/pg_dump: pg_dump.c
src/bin/psql : command.c
src/interfaces/ecpg/preproc: pgc.l preproc.y variable.c
src/interfaces/libpgtcl: pgtclCmds.c
src/interfaces/libpq: fe-auth.c

Log message:
I checked all the previous string handling errors and most of them were
already fixed by You. However there were a few left and attached patch
should fix the rest of them.

I used StringInfo only in 2 places and both of them are inside debug
ifdefs. Only performance penalty will come from using strlen() like all
the other code does.

I also modified some of the already patched parts by changing
snprintf(buf, 2 * BUFSIZE, ... style lines to
snprintf(buf, sizeof(buf), ... where buf is an array.

Jukka Holappa

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian - CVS 2002-09-02 06:13:31 pgsql-server/contrib README dblink/README.dbli ...
Previous Message Bruce Momjian - CVS 2002-09-02 06:05:16 pgsql-server/src/test/regress expected/errors. ...