summaryrefslogtreecommitdiff
path: root/src/timezone/strftime.c
diff options
context:
space:
mode:
authorAlexander Korotkov2021-04-23 09:57:33 +0000
committerAlexander Korotkov2021-04-23 10:25:45 +0000
commit6bbcff096f932a1fe43ac3208c5c8b0acac29cda (patch)
treef73800aea68771aa4cdfa7b19163146906744d1e /src/timezone/strftime.c
parent3f20d5f37086e548c32ddb9d6ae09c2e1ce300ce (diff)
Mark multirange_constructor0() and multirange_constructor2() strict
These functions shouldn't receive null arguments: multirange_constructor0() doesn't have any arguments while multirange_constructor2() has a single array argument, which is never null. But mark them strict anyway for the sake of uniformity. Also, make checks for null arguments use elog() instead of ereport() as these errors should normally be never thrown. And adjust corresponding comments. Catversion is bumped. Reported-by: Peter Eisentraut Discussion: https://postgr.es/m/0f783a96-8d67-9e71-996b-f34a7352eeef%40enterprisedb.com
Diffstat (limited to 'src/timezone/strftime.c')
0 files changed, 0 insertions, 0 deletions