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.
Peter Eisentraut
1784f278a6
Replace remaining StrNCpy() by strlcpy()
...
They are equivalent, except that StrNCpy() zero-fills the entire
destination buffer instead of providing just one trailing zero. For
all but a tiny number of callers, that's just overhead rather than
being desirable.
Remove StrNCpy() as it is now unused.
In some cases, namestrcpy() is the more appropriate function to use.
While we're here, simplify the API of namestrcpy(): Remove the return
value, don't check for NULL input. Nothing was using that anyway.
Also, remove a few unused name-related functions.
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://www.postgresql.org/message-id/flat/44f5e198-36f6-6cdb-7fa9-60e34784daae%402ndquadrant.com
5 years ago
..
expected
Fix corner case with 16kB-long decompression in pgcrypto, take 2
5 years ago
sql
Fix corner case with 16kB-long decompression in pgcrypto, take 2
5 years ago
.gitignore
Support SCRAM-SHA-256 authentication (RFC 5802 and 7677).
9 years ago
Makefile
Remove support for upgrading extensions from "unpackaged" state.
6 years ago
blf.c
Remove cvs keywords from all files.
15 years ago
blf.h
Remove cvs keywords from all files.
15 years ago
crypt-blowfish.c
Get rid of trailing semicolons in C macro definitions.
5 years ago
crypt-des.c
Replace remaining StrNCpy() by strlcpy()
5 years ago
crypt-gensalt.c
Phase 3 of pgindent updates.
8 years ago
crypt-md5.c
Make the order of the header file includes consistent in contrib modules.
6 years ago
imath.c
Update copyrights for 2020
6 years ago
imath.h
Initial pgindent run for v12.
6 years ago
internal-sha2.c
Refactor SHA2 functions and move them to src/common/.
9 years ago
internal.c
Make the order of the header file includes consistent in contrib modules.
6 years ago
mbuf.c
Remove useless "return;" lines
6 years ago
mbuf.h
Phase 2 pgindent run for v12.
6 years ago
md5.c
Resolve one unconstify use
7 years ago
md5.h
Phase 2 of pgindent updates.
8 years ago
openssl.c
Make the order of the header file includes consistent in contrib modules.
6 years ago
pgcrypto--1.0--1.1.sql
Add gen_random_uuid() to contrib/pgcrypto.
12 years ago
pgcrypto--1.1--1.2.sql
Add functions for dealing with PGP armor header lines to pgcrypto.
11 years ago
pgcrypto--1.2--1.3.sql
Update pgcrypto extension for parallel query.
9 years ago
pgcrypto--1.3.sql
Minor fixes in contrib installation scripts.
9 years ago
pgcrypto.c
Make the order of the header file includes consistent in contrib modules.
6 years ago
pgcrypto.control
Mark some contrib modules as "trusted".
6 years ago
pgcrypto.h
Remove unnecessary prototypes
9 years ago
pgp-armor.c
Make the order of the header file includes consistent in contrib modules.
6 years ago
pgp-cfb.c
Make the order of the header file includes consistent in contrib modules.
6 years ago
pgp-compress.c
Fix corner case with 16kB-long decompression in pgcrypto, take 2
5 years ago
pgp-decrypt.c
Make the order of the header file includes consistent in contrib modules.
6 years ago
pgp-encrypt.c
Make the order of the header file includes consistent in contrib modules.
6 years ago
pgp-info.c
Dial back -Wimplicit-fallthrough to level 3
5 years ago
pgp-mpi-internal.c
Clear some style deviations.
5 years ago
pgp-mpi-openssl.c
Make the order of the header file includes consistent in contrib modules.
6 years ago
pgp-mpi.c
Make the order of the header file includes consistent in contrib modules.
6 years ago
pgp-pgsql.c
Introduce macros for typalign and typstorage constants.
6 years ago
pgp-pubdec.c
Make the order of the header file includes consistent in contrib modules.
6 years ago
pgp-pubenc.c
Make the order of the header file includes consistent in contrib modules.
6 years ago
pgp-pubkey.c
Make the order of the header file includes consistent in contrib modules.
6 years ago
pgp-s2k.c
Make the order of the header file includes consistent in contrib modules.
6 years ago
pgp.c
Make the order of the header file includes consistent in contrib modules.
6 years ago
pgp.h
Fix inconsistencies and typos in the tree, take 10
6 years ago
px-crypt.c
Make the order of the header file includes consistent in contrib modules.
6 years ago
px-crypt.h
Phase 2 pgindent run for v12.
6 years ago
px-hmac.c
pgindent run for 9.4
12 years ago
px.c
Remove configure switch --disable-strong-random
7 years ago
px.h
Fix inconsistencies and typos in the tree, take 9
6 years ago
rijndael.c
Fix a boatload of typos in C comments.
8 years ago
rijndael.h
Phase 2 of pgindent updates.
8 years ago
rijndael.tbl
Remove useless whitespace at end of lines
15 years ago
sha1.c
Fix inconsistencies and typos in the tree, take 9
6 years ago
sha1.h
Phase 2 of pgindent updates.
8 years ago