git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 56a312a) | patch
Refactor space allocation for base64 encoding/decoding in pgcrypto.
2014年9月25日 13:32:27 +0000 (16:32 +0300)
2014年9月25日 13:36:58 +0000 (16:36 +0300)
commit 1dcfb8da09c47d2a7502d1dfab06c8be4b6cf323
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
contrib/pgcrypto/pgp-armor.c diff | blob | blame | history
contrib/pgcrypto/pgp-pgsql.c diff | blob | blame | history
contrib/pgcrypto/pgp.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /