]> granicus.if.org Git - postgresql/commit
Improve EncodeDateTime and EncodeTimeOnly APIs
authorPeter Eisentraut <peter_e@gmx.net>
Wed, 14 Mar 2012 21:03:34 +0000 (23:03 +0200)
committerPeter Eisentraut <peter_e@gmx.net>
Wed, 14 Mar 2012 21:03:34 +0000 (23:03 +0200)
commitad4fb0d0d2f33ec0165f2a9a50a6d8cbcef4ab82
tree46e07054f4e064ef6f496ad5565c9d6502205de7
parent942b63193c722a58ed24b3305308836b47b3f028
Improve EncodeDateTime and EncodeTimeOnly APIs

Use an explicit argument to tell whether to include the time zone in
the output, rather than using some undocumented pointer magic.
src/backend/utils/adt/date.c
src/backend/utils/adt/datetime.c
src/backend/utils/adt/nabstime.c
src/backend/utils/adt/timestamp.c
src/backend/utils/adt/xml.c
src/include/utils/datetime.h
src/interfaces/ecpg/pgtypeslib/dt.h
src/interfaces/ecpg/pgtypeslib/dt_common.c
src/interfaces/ecpg/pgtypeslib/timestamp.c