git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 8c3d63c) | patch
Do not allow *timestamp to be passed as NULL
2015年8月21日 17:36:54 +0000 (14:36 -0300)
2015年8月21日 17:36:54 +0000 (14:36 -0300)
commit e68be16b0d0e857bc05949b8ee78c5aaf7d8954a
Do not allow *timestamp to be passed as NULL

The code had bugs that would cause crashes if NULL was passed as that
argument (originally intended to mean not to bother returning its
value), and after inspection it turns out that nothing seems interested
in the case that *ts is NULL anyway. Therefore, remove the partial
checks intended to support that case.

Author: Michael Paquier
though I didn't include a proposed Assert.

Backpatch to 9.5.
src/backend/access/transam/commit_ts.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /