index a86db045dec1e1652952cb8baae8b15a54d67253..271ac62d8fa073b89687e962cfc301477697c972 100644 (file)
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);
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);