aboutsummaryrefslogtreecommitdiff
path: root/src/bin/scripts/createuser.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2019-10-23 11:34:18 +0900
committerMichael Paquier <michael@paquier.xyz>2019-10-23 11:34:18 +0900
commit57379cd5ac56e575630a5fee5777a1035d0a764a (patch)
treeb8d8e95a4ab8ad3417d035da6519bd2d590b7b23 /src/bin/scripts/createuser.c
parente3db3f829f605edc0675e5d308de97f444b53d4b (diff)
downloadpostgresql-57379cd5ac56e575630a5fee5777a1035d0a764a.tar.gz
postgresql-57379cd5ac56e575630a5fee5777a1035d0a764a.zip
Fix thinkos from 4f4061b for libpq integer parsing
A check was redundant. While on it, add an assertion to make sure that the parsing routine is never called with a NULL input. All the code paths currently calling the parsing routine are careful with NULL inputs already, but future callers may forget that. Reported-by: Peter Eisentraut, Lars Kanis Discussion: https://postgr.es/m/ec64956b-4597-56b6-c3db-457d15250fe4@2ndquadrant.com Backpatch-through: 12
Diffstat (limited to 'src/bin/scripts/createuser.c')
0 files changed, 0 insertions, 0 deletions