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
…
Makefile
Remove support for upgrading extensions from "unpackaged" state.
6 years ago
blf.c
…
blf.h
…
crypt-blowfish.c
Get rid of trailing semicolons in C macro definitions.
6 years ago
crypt-des.c
Replace remaining StrNCpy() by strlcpy()
5 years ago
crypt-gensalt.c
Phase 3 of pgindent updates.
9 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.
7 years ago
internal-sha2.c
…
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.
7 years ago
md5.c
Resolve one unconstify use
7 years ago
md5.h
Phase 2 of pgindent updates.
9 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
…
pgcrypto--1.1--1.2.sql
…
pgcrypto--1.2--1.3.sql
…
pgcrypto--1.3.sql
…
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
…
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
6 years ago
pgp-mpi-internal.c
Clear some style deviations.
6 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.
7 years ago
px-hmac.c
…
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.
9 years ago
rijndael.tbl
…
sha1.c
Fix inconsistencies and typos in the tree, take 9
6 years ago
sha1.h
Phase 2 of pgindent updates.
9 years ago