From: | Michael Meskes <meskes(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Initialize day of year value. |
Date: | 2013-07-19 07:05:54 |
Message-ID: | E1V04lG-0008K4-1I@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/a2c1c3308f33a293152e65bbc0d25e7976dde23d
Modified Files
--------------
src/interfaces/ecpg/pgtypeslib/timestamp.c | 2 ++
src/interfaces/ecpg/test/expected/pgtypeslib-dt_test.c | 14 ++++++++++----
.../ecpg/test/expected/pgtypeslib-dt_test.stderr | 2 +-
.../ecpg/test/expected/pgtypeslib-dt_test.stdout | 1 +
src/interfaces/ecpg/test/pgtypeslib/dt_test.pgc | 6 ++++++
5 files changed, 20 insertions(+), 5 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Andres Freund | 2013-07-19 11:24:51 | Re: pgsql: Allow background workers to be started dynamically. |
Previous Message | Tom Lane | 2013-07-19 01:55:50 | pgsql: Add checks for valid multibyte character length in UtfToLocal, L |