aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/json.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2014-09-25 16:32:27 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2014-09-25 16:36:58 +0300
commit1dcfb8da09c47d2a7502d1dfab06c8be4b6cf323 (patch)
treef99b357968ff2c075d11e00d9912b8101e59f0cc /src/backend/utils/adt/json.c
parent56a312aac8802c2aa01530101d2d19e63568eeda (diff)
downloadpostgresql-1dcfb8da09c47d2a7502d1dfab06c8be4b6cf323.tar.gz
postgresql-1dcfb8da09c47d2a7502d1dfab06c8be4b6cf323.zip
Refactor space allocation for base64 encoding/decoding in pgcrypto.
Instead of trying to accurately calculate the space needed, use a StringInfo that's enlarged as needed. This is just moving things around currently - the old code was not wrong - but this is in preparation for a patch that adds support for extra armor headers, and would make the space calculation more complicated. Marko Tiikkaja
Diffstat (limited to 'src/backend/utils/adt/json.c')
0 files changed, 0 insertions, 0 deletions