git.postgresql.org Git - postgresql.git/commit
2018年1月17日 00:07:13 +0000 (19:07 -0500)
2018年1月17日 00:07:13 +0000 (19:07 -0500)
commit cc4feded0a31d2b732d4ea68613115cb720e624e
Centralize json and jsonb handling of datetime types
The creates a single function JsonEncodeDateTime which will format these
data types in an efficient and consistent manner. This will be all the
more important when we come to jsonpath so we don't have to implement yet
more code doing the same thing in two more places.
This also extends the code to handle time and timetz types which were
not previously handled specially. This requires exposing the time2tm and
timetz2tm functions.
Patch from Nikita Glukhov
This is the main PostgreSQL git repository.
RSS
Atom