You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Tom Lane
220db7ccd8
Simplify and standardize conversions between TEXT datums and ordinary C
...
strings. This patch introduces four support functions cstring_to_text,
cstring_to_text_with_len, text_to_cstring, and text_to_cstring_buffer, and
two macros CStringGetTextDatum and TextDatumGetCString. A number of
existing macros that provided variants on these themes were removed.
Most of the places that need to make such conversions now require just one
function or macro call, in place of the multiple notational layers that used
to be needed. There are no longer any direct calls of textout or textin,
and we got most of the places that were using handmade conversions via
memcpy (there may be a few still lurking, though).
This commit doesn't make any serious effort to eliminate transient memory
leaks caused by detoasting toasted text objects before they reach
text_to_cstring. We changed PG_GETARG_TEXT_P to PG_GETARG_TEXT_PP in a few
places where it was easy, but much more could be done.
Brendan Jurd and Tom Lane
18 years ago
..
expected
Fix a few contrib regression test scripts that hadn't gotten the word
18 years ago
sql
Fix a few contrib regression test scripts that hadn't gotten the word
18 years ago
Makefile
Remove references to READMEs from /contrib Makefiles.
18 years ago
blf.c
pgindent run for 8.3.
18 years ago
blf.h
pgindent run for 8.3.
18 years ago
crypt-blowfish.c
pgindent run for 8.3.
18 years ago
crypt-des.c
"Annual" pgcrypto update from Marko Kreen:
20 years ago
crypt-gensalt.c
pgindent run for 8.2.
19 years ago
crypt-md5.c
pgindent run for 8.2.
19 years ago
fortuna.c
pgindent run for 8.2.
19 years ago
fortuna.h
Standard pgindent run for 8.1.
20 years ago
imath.c
Silence Solaris compiler warning, per buildfarm.
19 years ago
imath.h
pgindent run for 8.3.
18 years ago
internal-sha2.c
pgindent run for 8.2.
19 years ago
internal.c
Replace time_t with pg_time_t (same values, but always int64) in on-disk
18 years ago
mbuf.c
Get rid of overly cute, unportable, probably not very efficient substitute
19 years ago
mbuf.h
Standard pgindent run for 8.1.
20 years ago
md5.c
Now that core functionality is depending on autoconf's AC_C_BIGENDIAN to be
19 years ago
md5.h
Standard pgindent run for 8.1.
20 years ago
openssl.c
pgindent run for 8.3.
18 years ago
pgcrypto.c
Simplify and standardize conversions between TEXT datums and ordinary C
18 years ago
pgcrypto.h
Remove pgcrypto functions that were deprecated and slated for removal.
20 years ago
pgcrypto.sql.in
Add CVS version labels to all install/uninstall scripts.
18 years ago
pgp-armor.c
Standard pgindent run for 8.1.
20 years ago
pgp-cfb.c
Standard pgindent run for 8.1.
20 years ago
pgp-compress.c
pgindent run for 8.3.
18 years ago
pgp-decrypt.c
Re-run pgindent, fixing a problem where comment lines after a blank
20 years ago
pgp-encrypt.c
Standard pgindent run for 8.1.
20 years ago
pgp-info.c
Standard pgindent run for 8.1.
20 years ago
pgp-mpi-internal.c
pgindent run for 8.2.
19 years ago
pgp-mpi-openssl.c
Standard pgindent run for 8.1.
20 years ago
pgp-mpi.c
Standard pgindent run for 8.1.
20 years ago
pgp-pgsql.c
Replace direct assignments to VARATT_SIZEP(x) with SET_VARSIZE(x, len).
19 years ago
pgp-pubdec.c
Standard pgindent run for 8.1.
20 years ago
pgp-pubenc.c
Standard pgindent run for 8.1.
20 years ago
pgp-pubkey.c
Standard pgindent run for 8.1.
20 years ago
pgp-s2k.c
Standard pgindent run for 8.1.
20 years ago
pgp.c
Standard pgindent run for 8.1.
20 years ago
pgp.h
Standard pgindent run for 8.1.
20 years ago
px-crypt.c
Standard pgindent run for 8.1.
20 years ago
px-crypt.h
"Annual" pgcrypto update from Marko Kreen:
20 years ago
px-hmac.c
More pgcrypto fixes: avoid bogus alignment assumptions in sha2,
21 years ago
px.c
pgindent run for 8.3.
18 years ago
px.h
Fix combo_decrypt() to throw an error for zero-length input when using a
19 years ago
random.c
Add missing 3rd argument to open().
20 years ago
rijndael.c
Now that core functionality is depending on autoconf's AC_C_BIGENDIAN to be
19 years ago
rijndael.h
pgcrypto uses non-standard type uint, which causes compile
24 years ago
rijndael.tbl
Add missing pgcrypto file.
25 years ago
sha1.c
Now that core functionality is depending on autoconf's AC_C_BIGENDIAN to be
19 years ago
sha1.h
make sure the $Id tags are converted to $PostgreSQL as well ...
22 years ago
sha2.c
pgindent run for 8.3.
18 years ago
sha2.h
"Annual" pgcrypto update from Marko Kreen:
20 years ago
uninstall_pgcrypto.sql
Add CVS version labels to all install/uninstall scripts.
18 years ago