]> granicus.if.org Git - postgresql/commit
Initialize day of year value.
authorMichael Meskes <meskes@postgresql.org>
Fri, 19 Jul 2013 06:59:20 +0000 (08:59 +0200)
committerMichael Meskes <meskes@postgresql.org>
Fri, 19 Jul 2013 07:04:39 +0000 (09:04 +0200)
commitd29130bd0f099e0ba973e933bf39b719e2378968
tree89ea05de5969755598a0e6c16946c31348c2e69f
parent57ddea3a276896eaa5bf533f24487c9a9a672d2a
Initialize day of year value.

There are cases where the day of year value in struct tm is used, but it never
got calculated. Problem found by Coverity scan.
src/interfaces/ecpg/pgtypeslib/timestamp.c
src/interfaces/ecpg/test/expected/pgtypeslib-dt_test.c
src/interfaces/ecpg/test/expected/pgtypeslib-dt_test.stderr
src/interfaces/ecpg/test/expected/pgtypeslib-dt_test.stdout
src/interfaces/ecpg/test/pgtypeslib/dt_test.pgc