diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2022-12-25 04:36:58 -0500 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2022-12-25 04:36:58 -0500 |
commit | 361ec4368b1da252e031e2ee8bce366bce5f72b2 (patch) | |
tree | 90fef216a7e8613c0a74d5548c4c8ee86a8cda2e | |
parent | 720e0327bc98464b889801a65ae2358f86a0265a (diff) | |
download | postgresql-361ec4368b1da252e031e2ee8bce366bce5f72b2.tar.gz postgresql-361ec4368b1da252e031e2ee8bce366bce5f72b2.zip |
Fix thinko in 720e0327bc
-rw-r--r-- | contrib/isn/isn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/isn/isn.c b/contrib/isn/isn.c index a86db045dec..271ac62d8fa 100644 --- a/contrib/isn/isn.c +++ b/contrib/isn/isn.c @@ -942,7 +942,7 @@ isn_out(PG_FUNCTION_ARGS) char *result; char buf[MAXEAN13LEN + 1]; - (void) ean2string(val, fcinfo->context, buf, true); + (void) ean2string(val, false, buf, true); result = pstrdup(buf); PG_RETURN_CSTRING(result); @@ -958,7 +958,7 @@ ean13_out(PG_FUNCTION_ARGS) char *result; char buf[MAXEAN13LEN + 1]; - (void) ean2string(val, fcinfo->context, buf, false); + (void) ean2string(val, false, buf, false); result = pstrdup(buf); PG_RETURN_CSTRING(result); |