postgresql/src/backend/utils/adt
Alvaro Herrera 3e9744465d
Add -Wimplicit-fallthrough to CFLAGS and CXXFLAGS
Use it at level 4, a bit more restrictive than the default level, and
tweak our commanding comments to FALLTHROUGH.

(However, leave zic.c alone, since it's external code; to avoid the
warnings that would appear there, change CFLAGS for that file in the
Makefile.)

Author: Julien Rouhaud <rjuju123@gmail.com>
Author: Álvaro Herrera <alvherre@alvh.no-ip.org>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/20200412081825.qyo5vwwco3fv4gdo@nol
Discussion: https://postgr.es/m/flat/E1fDenm-0000C8-IJ@gemulon.postgresql.org
2020-05-12 16:07:30 -04:00
..
.gitignore Revert "Add gitignore entries for jsonpath_gram.h" 2019-03-23 00:19:34 +01:00
Makefile Introduce xid8-based functions to replace txid_XXX. 2020-04-07 12:04:32 +12:00
acl.c Remove ACLDEBUG #define and associated code. 2020-04-23 15:38:04 -04:00
amutils.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
array_expanded.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
array_selfuncs.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
array_typanalyze.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
array_userfuncs.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
arrayfuncs.c Fix minor violations of FunctionCallInvoke usage protocol. 2020-04-21 14:23:53 -04:00
arrayutils.c Introduce macros for typalign and typstorage constants. 2020-03-04 10:34:25 -05:00
ascii.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
bool.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
cash.c Fix loss of fractional digits for large values in cash_numeric(). 2019-07-26 11:59:00 -04:00
char.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
cryptohashes.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
date.c Move src/backend/utils/hash/hashfn.c to src/common 2020-02-27 09:25:41 +05:30
datetime.c Avoid holding a directory FD open across assorted SRF calls. 2020-03-16 21:05:52 -04:00
datum.c Add equalimage B-Tree support functions. 2020-02-26 11:28:25 -08:00
dbsize.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
domains.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
encode.c Adjust bytea get_bit/set_bit to use int8 not int4 for bit numbering. 2020-04-07 15:57:58 -04:00
enum.c Introduce macros for typalign and typstorage constants. 2020-03-04 10:34:25 -05:00
expandeddatum.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
expandedrecord.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
float.c Introduce macros for typalign and typstorage constants. 2020-03-04 10:34:25 -05:00
format_type.c Introduce macros for typalign and typstorage constants. 2020-03-04 10:34:25 -05:00
formatting.c Add -Wimplicit-fallthrough to CFLAGS and CXXFLAGS 2020-05-12 16:07:30 -04:00
genfile.c Teach pg_ls_dir_files() to ignore ENOENT failures from stat(). 2020-03-31 12:57:55 -04:00
geo_ops.c Fix circle_in to accept "(x,y),r" as it's advertised to do. 2020-04-07 20:50:28 -04:00
geo_selfuncs.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
geo_spgist.c Update copyrights for 2020 2020-01-01 12:21:45 -05: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 Add functions gcd() and lcm() for integer and numeric types. 2020-01-25 14:00:59 +00:00
int8.c Optimizations for integer to decimal output. 2020-02-01 21:57:14 +00:00
json.c Introduce "anycompatible" family of polymorphic types. 2020-03-19 11:43:11 -04:00
jsonb.c Introduce "anycompatible" family of polymorphic types. 2020-03-19 11:43:11 -04:00
jsonb_gin.c Introduce macros for typalign and typstorage constants. 2020-03-04 10:34:25 -05:00
jsonb_op.c Introduce macros for typalign and typstorage constants. 2020-03-04 10:34:25 -05:00
jsonb_util.c Add -Wimplicit-fallthrough to CFLAGS and CXXFLAGS 2020-05-12 16:07:30 -04:00
jsonfuncs.c Fix assorted typos 2020-03-31 16:00:06 +02:00
jsonpath.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
jsonpath_exec.c Make SQL/JSON error code names match SQL standard 2020-04-30 09:34:54 +02:00
jsonpath_gram.y Update copyrights for 2020 2020-01-01 12:21:45 -05:00
jsonpath_scan.l Allow Unicode escapes in any server encoding, not only UTF-8. 2020-03-06 14:17:43 -05:00
levenshtein.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
like.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
like_match.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
like_support.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
lockfuncs.c Introduce macros for typalign and typstorage constants. 2020-03-04 10:34:25 -05:00
mac.c Move src/backend/utils/hash/hashfn.c to src/common 2020-02-27 09:25:41 +05:30
mac8.c Move src/backend/utils/hash/hashfn.c to src/common 2020-02-27 09:25:41 +05:30
misc.c Revert 0f5ca02f53 2020-04-08 11:37:27 +03:00
name.c Introduce macros for typalign and typstorage constants. 2020-03-04 10:34:25 -05:00
network.c Move src/backend/utils/hash/hashfn.c to src/common 2020-02-27 09:25:41 +05:30
network_gist.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
network_selfuncs.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
network_spgist.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
numeric.c Improve the performance and accuracy of numeric sqrt() and ln(). 2020-03-28 14:37:53 +00:00
numutils.c Optimizations for integer to decimal output. 2020-02-01 21:57:14 +00:00
oid.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
oracle_compat.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
orderedsetaggs.c Introduce macros for typalign and typstorage constants. 2020-03-04 10:34:25 -05:00
partitionfuncs.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
pg_locale.c Add collation versions for Windows. 2020-03-25 16:04:32 +13:00
pg_lsn.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
pg_upgrade_support.c Introduce macros for typalign and typstorage constants. 2020-03-04 10:34:25 -05:00
pgstatfuncs.c Allow pg_read_all_stats to access all stats views again 2020-04-20 12:53:40 +02:00
pseudotypes.c Introduce "anycompatible" family of polymorphic types. 2020-03-19 11:43:11 -04:00
quote.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
rangetypes.c Remove RangeIOData->typiofunc 2020-03-05 11:35:02 -03:00
rangetypes_gist.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
rangetypes_selfuncs.c Fix edge-case crashes and misestimation in range containment selectivity. 2020-01-12 14:36:59 -05:00
rangetypes_spgist.c Clean up newlines following left parentheses 2020-01-30 13:42:14 -03:00
rangetypes_typanalyze.c Clean up newlines following left parentheses 2020-01-30 13:42:14 -03:00
regexp.c Introduce macros for typalign and typstorage constants. 2020-03-04 10:34:25 -05:00
regproc.c Implement type regcollation 2020-03-18 21:21:00 +01:00
ri_triggers.c Add object names to partition integrity violations. 2020-03-23 08:09:15 +05:30
rowtypes.c Fix minor violations of FunctionCallInvoke usage protocol. 2020-04-21 14:23:53 -04:00
ruleutils.c Support FETCH FIRST WITH TIES 2020-04-07 16:22:13 -04:00
selfuncs.c Allow matchingsel() to be used with operators that might return NULL. 2020-04-21 12:56:55 -04:00
tid.c Move src/backend/utils/hash/hashfn.c to src/common 2020-02-27 09:25:41 +05:30
timestamp.c Add -Wimplicit-fallthrough to CFLAGS and CXXFLAGS 2020-05-12 16:07:30 -04:00
trigfuncs.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
tsginidx.c Add -Wimplicit-fallthrough to CFLAGS and CXXFLAGS 2020-05-12 16:07:30 -04:00
tsgistidx.c Implement operator class parameters 2020-03-30 19:17:23 +03:00
tsquery.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
tsquery_cleanup.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
tsquery_gist.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
tsquery_op.c Clean up newlines following left parentheses 2020-01-30 13:42:14 -03:00
tsquery_rewrite.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
tsquery_util.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
tsrank.c Fix typo in comment 2020-05-03 12:19:31 +03:00
tsvector.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
tsvector_op.c Fix YA text phrase search bug. 2020-05-07 15:59:51 -04:00
tsvector_parser.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
uuid.c Move src/backend/utils/hash/hashfn.c to src/common 2020-02-27 09:25:41 +05:30
varbit.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
varchar.c Move src/backend/utils/hash/hashfn.c to src/common 2020-02-27 09:25:41 +05:30
varlena.c Adjust bytea get_bit/set_bit to use int8 not int4 for bit numbering. 2020-04-07 15:57:58 -04:00
version.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
windowfuncs.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
xid.c Add SQL type xid8 to expose FullTransactionId to users. 2020-04-07 12:03:59 +12:00
xid8funcs.c Introduce xid8-based functions to replace txid_XXX. 2020-04-07 12:04:32 +12:00
xml.c Allow Unicode escapes in any server encoding, not only UTF-8. 2020-03-06 14:17:43 -05:00