diff options
author | Heikki Linnakangas | 2014-09-25 13:32:27 +0000 |
---|---|---|
committer | Heikki Linnakangas | 2014-09-25 13:36:58 +0000 |
commit | 1dcfb8da09c47d2a7502d1dfab06c8be4b6cf323 (patch) | |
tree | f99b357968ff2c075d11e00d9912b8101e59f0cc /contrib/pgcrypto/internal.c | |
parent | 56a312aac8802c2aa01530101d2d19e63568eeda (diff) |
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 'contrib/pgcrypto/internal.c')
0 files changed, 0 insertions, 0 deletions