postgresql/src/backend/utils/adt
Peter Eisentraut 258f48f858 Change some unnecessary MemSet calls
MemSet() with a value other than 0 just falls back to memset(), so the
indirection is unnecessary if the value is constant and not 0.  Since
there is some interest in getting rid of MemSet(), this gets some easy
cases out of the way.  (There are a few MemSet() calls that I didn't
change to maintain the consistency with their surrounding code.)

Discussion: https://www.postgresql.org/message-id/flat/CAEudQApCeq4JjW1BdnwU=m=-DvG5WyUik0Yfn3p6UNphiHjj+w@mail.gmail.com
2022-07-01 00:16:38 +02:00
..
.gitignore Revert "Add gitignore entries for jsonpath_gram.h" 2019-03-23 00:19:34 +01:00
Makefile Refactor code related to pg_hba_file_rules() into new file 2022-03-24 12:42:30 +09:00
acl.c Remove extraneous blank lines before block-closing braces 2022-04-13 19:16:02 +02:00
amutils.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
array_expanded.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
array_selfuncs.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
array_typanalyze.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
array_userfuncs.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
arrayfuncs.c Pre-beta mechanical code beautification. 2022-05-12 15:17:30 -04:00
arraysubs.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
arrayutils.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
ascii.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
bool.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
cash.c Remove unused includes 2021-12-01 16:10:56 +01:00
char.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
cryptohashfuncs.c Improve error handling of cryptohash computations 2022-01-11 09:55:16 +09:00
date.c Specialize tuplesort routines for different kinds of abbreviated keys 2022-04-02 15:22:25 +07:00
datetime.c Fix portability issues in datetime parsing. 2022-04-03 17:04:33 -04:00
datum.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
dbsize.c Pre-beta mechanical code beautification. 2022-05-12 15:17:30 -04:00
domains.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
encode.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
enum.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
expandeddatum.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
expandedrecord.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
float.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
format_type.c SQL JSON functions 2022-03-30 16:30:37 -04:00
formatting.c Pre-beta mechanical code beautification. 2022-05-12 15:17:30 -04:00
genfile.c Fix various typos and spelling mistakes in code comments 2022-04-11 20:49:41 +12:00
geo_ops.c Fix various typos and spelling mistakes in code comments 2022-04-11 20:49:41 +12:00
geo_selfuncs.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
geo_spgist.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
hbafuncs.c Add system view pg_ident_file_mappings 2022-03-29 10:15:48 +09:00
inet_cidr_ntop.c Avoid conflicts with library versions of inet_net_ntop() and friends. 2019-08-18 19:27:23 -04:00
inet_net_pton.c Avoid conflicts with library versions of inet_net_ntop() and friends. 2019-08-18 19:27:23 -04:00
int.c Remove pg_atoi() 2022-02-15 07:44:26 +01:00
int8.c Teach planner and executor about monotonic window funcs 2022-04-08 10:34:36 +12:00
json.c Pre-beta mechanical code beautification. 2022-05-12 15:17:30 -04:00
jsonb.c Pre-beta mechanical code beautification. 2022-05-12 15:17:30 -04:00
jsonb_gin.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
jsonb_op.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
jsonb_util.c Pre-beta mechanical code beautification. 2022-05-12 15:17:30 -04:00
jsonbsubs.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
jsonfuncs.c Pre-beta mechanical code beautification. 2022-05-12 15:17:30 -04:00
jsonpath.c Pre-beta mechanical code beautification. 2022-05-12 15:17:30 -04:00
jsonpath_exec.c Pre-beta mechanical code beautification. 2022-05-12 15:17:30 -04:00
jsonpath_gram.y Indent C code in flex and bison files 2022-05-13 07:17:29 +02:00
jsonpath_scan.l Indent C code in flex and bison files 2022-05-13 07:17:29 +02:00
levenshtein.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
like.c Pre-beta mechanical code beautification. 2022-05-12 15:17:30 -04:00
like_match.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
like_support.c Call pg_newlocale_from_collation() also with default collation 2022-01-20 09:50:18 +01:00
lockfuncs.c Revert the addition of GetMaxBackends() and related stuff. 2022-04-12 14:45:23 -04:00
mac.c Specialize tuplesort routines for different kinds of abbreviated keys 2022-04-02 15:22:25 +07:00
mac8.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
mcxtfuncs.c Create routine able to set single-call SRFs for Materialize mode 2022-03-07 10:26:29 +09:00
misc.c Fix pg_tablespace_location() with in-place tablespaces 2022-03-17 11:25:02 +09:00
multirangetypes.c Pre-beta mechanical code beautification. 2022-05-12 15:17:30 -04:00
multirangetypes_selfuncs.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
name.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
network.c Specialize tuplesort routines for different kinds of abbreviated keys 2022-04-02 15:22:25 +07:00
network_gist.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
network_selfuncs.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
network_spgist.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
numeric.c Pre-beta mechanical code beautification. 2022-05-12 15:17:30 -04:00
numutils.c Remove pg_atoi() 2022-02-15 07:44:26 +01:00
oid.c Rename value node fields 2022-01-14 11:26:08 +01:00
oracle_compat.c Avoid ERRCODE_INTERNAL_ERROR in oracle_compat.c functions. 2022-05-26 12:25:10 -04:00
orderedsetaggs.c Adjust tuplesort API to have bitwise option flags 2022-04-04 22:24:59 +12:00
partitionfuncs.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_locale.c Pre-beta mechanical code beautification. 2022-05-12 15:17:30 -04:00
pg_lsn.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_upgrade_support.c pg_upgrade: Preserve relfilenodes and tablespace OIDs. 2022-01-17 13:40:27 -05:00
pgstatfuncs.c Pre-beta mechanical code beautification. 2022-05-12 15:17:30 -04:00
pseudotypes.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
quote.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
rangetypes.c Change some internal error messages to elogs 2022-03-30 17:53:54 +02:00
rangetypes_gist.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
rangetypes_selfuncs.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
rangetypes_spgist.c Pre-beta mechanical code beautification. 2022-05-12 15:17:30 -04:00
rangetypes_typanalyze.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
regexp.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
regproc.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
ri_triggers.c Pre-beta mechanical code beautification. 2022-05-12 15:17:30 -04:00
rowtypes.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
ruleutils.c Show 'AS "?column?"' explicitly when it's important. 2022-05-21 14:45:58 -04:00
selfuncs.c Pre-beta mechanical code beautification. 2022-05-12 15:17:30 -04:00
tid.c Tighten overflow checks in tidin(). 2022-03-03 20:04:35 -05:00
timestamp.c Pre-beta mechanical code beautification. 2022-05-12 15:17:30 -04:00
trigfuncs.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
tsginidx.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
tsgistidx.c Change some unnecessary MemSet calls 2022-07-01 00:16:38 +02:00
tsquery.c Fix various typos and spelling mistakes in code comments 2022-04-11 20:49:41 +12:00
tsquery_cleanup.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
tsquery_gist.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
tsquery_op.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
tsquery_rewrite.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
tsquery_util.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
tsrank.c Fix collection of typos in the code and the documentation 2022-03-15 11:29:35 +09:00
tsvector.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
tsvector_op.c Remove extraneous blank lines before block-closing braces 2022-04-13 19:16:02 +02:00
tsvector_parser.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
uuid.c Pre-beta mechanical code beautification. 2022-05-12 15:17:30 -04:00
varbit.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
varchar.c Pre-beta mechanical code beautification. 2022-05-12 15:17:30 -04:00
varlena.c Pre-beta mechanical code beautification. 2022-05-12 15:17:30 -04:00
version.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
windowfuncs.c Teach planner and executor about monotonic window funcs 2022-04-08 10:34:36 +12:00
xid.c Add min() and max() aggregates for xid8. 2022-02-10 12:33:41 +09:00
xid8funcs.c Fix visibility check when XID is committed in CLOG but not in procarray. 2022-06-27 08:21:08 +03:00
xml.c Remove error message hints mentioning configure options 2022-04-08 07:41:55 +02:00