pgsql: Add STRICT to some C functions created by the regression tests. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Add STRICT to some C functions created by the regression tests.
Date
Msg-id E1aHxrg-0003YQ-Ot@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Add STRICT to some C functions created by the regression tests.

These functions readily crash when passed a NULL input value.  The tests
themselves do not pass NULL values to them; but when the regression
database is used as a basis for fuzz testing, they cause a lot of noise.
Also, if someone were to leave a regression database lying about in a
production installation, these would create a minor security hazard.

Andreas Seltenreich

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/e8808f3d72355e701a7abf4150b5b63e1df37d55

Modified Files
--------------
src/test/regress/input/create_function_2.source  |   12 ++++++------
src/test/regress/output/create_function_2.source |   12 ++++++------
2 files changed, 12 insertions(+), 12 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Add STRICT to some C functions created by the regression tests.
Next
From: Andres Freund
Date:
Subject: Re: pgsql: Avoid pin scan for replay of XLOG_BTREE_VACUUM