postgresql/src/test/regress/expected
Tom Lane a7145f6bc8 Fix integer-overflow edge case detection in interval_mul and pgbench.
This patch adopts the overflow check logic introduced by commit cbdb8b4c0
into two more places.  interval_mul() failed to notice if it computed a
new microseconds value that was one more than INT64_MAX, and pgbench's
double-to-int64 logic had the same sorts of edge-case problems that
cbdb8b4c0 fixed in the core code.

To make this easier to get right in future, put the guts of the checks
into new macros in c.h, and add commentary about how to use the macros
correctly.

Back-patch to all supported branches, as we did with the previous fix.

Yuya Watari

Discussion: https://postgr.es/m/CAJ2pMkbkkFw2hb9Qb1Zj8d06EhWAQXFLy73St4qWv6aX=vqnjw@mail.gmail.com
2019-11-07 11:22:58 -05:00
..
.gitignore
advisory_lock.out
aggregates.out Avoid using lcons and list_delete_first where it's easy to do so. 2019-07-17 11:15:34 -04:00
alter_generic.out Un-hide most cascaded-drop details in regression test results. 2019-03-24 19:15:37 -04:00
alter_operator.out Avoid unnecessary use of pg_strcasecmp for already-downcased identifiers. 2018-01-26 18:25:14 -05:00
alter_table.out Replace alter_table.sql test usage of event triggers. 2019-10-16 02:37:34 -07:00
amutils.out Support for INCLUDE attributes in GiST indexes 2019-03-10 11:37:17 +03:00
arrays.out Improve expression evaluation test coverage. 2017-03-11 15:41:34 -08:00
async.out Add new function pg_notification_queue_usage. 2015-07-17 09:12:03 -04:00
bit.out Fix bitshiftright()'s zero-padding some more. 2019-10-04 10:34:40 -04:00
bitmapops.out
boolean.out Expand AND/OR regression tests around NULL handling. 2018-03-13 16:12:31 -07:00
box.out Add support for <-> (box, point) operator to SP-GiST box_ops 2019-07-14 15:09:23 +03:00
brin.out Fix BRIN cost estimation 2017-04-06 17:51:53 -03:00
btree_index.out Split up a couple of long-running regression test scripts. 2019-04-11 16:15:54 -04:00
case.out Fix interaction of CASE and ArrayCoerceExpr. 2018-10-30 15:26:11 -04:00
char.out
char_1.out
char_2.out
circle.out Back off output precision in circle.sql regression test. 2019-08-25 12:14:50 -04:00
cluster.out Fix CLUSTER on expression indexes. 2019-10-15 10:40:13 -07:00
collate.icu.utf8.out Fix random regression failure in test case "collate.icu.utf8" 2019-08-14 13:37:48 +09:00
collate.icu.utf8_1.out Run UTF8-requiring collation tests by default 2019-07-31 09:46:51 +02:00
collate.linux.utf8.out Remove obsolete collation test. 2019-10-16 18:02:23 +13:00
collate.linux.utf8_1.out Run UTF8-requiring collation tests by default 2019-07-31 09:46:51 +02:00
collate.out Un-hide most cascaded-drop details in regression test results. 2019-03-24 19:15:37 -04:00
combocid.out Fix locking a tuple updated by an aborted (sub)transaction 2016-09-09 15:54:29 -03:00
comments.out
conversion.out Establish conventions about global object names used in regression tests. 2016-07-17 18:42:43 -04:00
copy2.out Fix regression test outputs 2019-05-17 09:40:02 +09:00
copydml.out COPY (INSERT/UPDATE/DELETE .. RETURNING ..) 2015-11-27 19:11:22 +03:00
copyselect.out
create_aggregate.out Implement OR REPLACE option for CREATE AGGREGATE. 2019-03-19 01:16:50 +00:00
create_am.out Stop using spelling "nonexistant". 2019-06-08 10:12:26 -07:00
create_cast.out Make CREATE TYPE print warnings if a datatype's I/O functions are volatile. 2014-11-05 11:44:06 -05:00
create_function_3.out Un-hide most cascaded-drop details in regression test results. 2019-03-24 19:15:37 -04:00
create_index.out Fix "unexpected relkind" error when denying permissions on toast tables. 2019-11-05 13:40:37 -05:00
create_index_spgist.out Provide stable test for NULL-values in KNN SP-GiST 2019-09-20 15:33:45 +03:00
create_misc.out ANALYZE a_star and its children to avoid plan instability in tests. 2019-09-27 11:28:24 -04:00
create_operator.out Fix lexing of standard multi-character operators in edge cases. 2018-08-23 21:42:40 +01:00
create_procedure.out Add collation assignment to CALL statement 2019-02-07 08:25:47 +01:00
create_table.out Fix failure when creating cloned indexes for a partition 2019-11-02 14:16:04 +09:00
create_table_like.out Fix handling of GENERATED columns in CREATE TABLE LIKE INCLUDING DEFAULTS. 2019-09-25 17:30:42 -04:00
create_type.out Sort the dependent objects before recursing in findDependentObjects(). 2019-01-21 13:48:14 -05:00
create_view.out Fix incorrect printing of queries with duplicated join names. 2019-06-12 19:43:08 -04:00
date.out Remove explicit error handling for obsolete date/time values 2019-06-30 10:27:35 +02:00
dbsize.out Remove bogus dependencies on NUMERIC_MAX_PRECISION. 2016-08-14 15:06:01 -04:00
delete.out
dependency.out Un-hide most cascaded-drop details in regression test results. 2019-03-24 19:15:37 -04:00
domain.out Sort the dependent objects before recursing in findDependentObjects(). 2019-01-21 13:48:14 -05:00
drop_if_exists.out Improve error reporting for DROP FUNCTION/PROCEDURE/AGGREGATE/ROUTINE. 2019-03-21 11:52:08 -04:00
drop_operator.out Fix DROP OPERATOR to reset oprcom/oprnegate links to the dropped operator. 2016-03-25 12:33:16 -04:00
enum.out Remove WITH OIDS support, change oid catalog column visibility. 2018-11-20 16:00:17 -08:00
equivclass.out Reduce "X = X" to "X IS NOT NULL", if it's easy to do so. 2017-10-08 12:23:32 -04:00
errors.out Remove WITH OIDS support, change oid catalog column visibility. 2018-11-20 16:00:17 -08:00
event_trigger.out Un-hide most cascaded-drop details in regression test results. 2019-03-24 19:15:37 -04:00
expressions.out Add some test cases to improve test coverage of parse_expr.c. 2019-07-05 23:56:34 -04:00
fast_default.out Fix heap_getattr() handling of fast defaults. 2019-02-06 01:09:32 -08:00
float4-misrounded-input.out Improve coverage of utils/float.h 2019-08-28 12:28:16 +09:00
float4.out Improve coverage of utils/float.h 2019-08-28 12:28:16 +09:00
float8.out Un-hide most cascaded-drop details in regression test results. 2019-03-24 19:15:37 -04:00
foreign_data.out Fix partitioned index creation with foreign partitions 2019-06-26 18:38:51 -04:00
foreign_key.out Message style fixes 2019-09-23 13:38:39 +02:00
functional_deps.out
generated.out Convert ExecComputeStoredGenerated to use tuple slots 2019-05-22 18:41:53 +02:00
geometry.out Add missing commutators for distance operators 2019-07-14 14:55:01 +03:00
gin.out Make GIN regression test stable. 2016-02-08 23:41:46 +09:00
gist.out Support reloptions of enum type 2019-09-25 15:56:52 -03:00
groupingsets.out Add missing (COSTS OFF) to EXPLAIN added in previous commit. 2019-07-25 14:52:36 -07:00
guc.out Give up on testing guc.c's behavior for "infinity" inputs. 2019-03-11 17:53:09 -04:00
hash_func.out Introduce 64-bit hash functions with a 64-bit seed. 2017-08-31 22:21:21 -04:00
hash_index.out Add more tests for reloptions 2017-10-19 14:22:05 +02:00
hash_part.out Fix failure with textual partition hash keys. 2019-04-15 16:47:09 -04:00
horology.out Support for SSSSS datetime format pattern 2019-09-16 21:14:56 +03:00
hs_standby_allowed.out Allow UNLISTEN in hot-standby mode. 2019-01-25 21:14:49 -05:00
hs_standby_check.out
hs_standby_disallowed.out Allow UNLISTEN in hot-standby mode. 2019-01-25 21:14:49 -05:00
hs_standby_functions.out Remove all references to "xlog" from SQL-callable functions in pg_proc. 2017-02-09 15:10:09 -05:00
identity.out Make identity sequence management more robust 2019-07-22 12:07:10 +02:00
index_including.out Fix nbtree high key "continuescan" row compare bug. 2019-03-31 17:24:04 -07:00
index_including_gist.out Support for INCLUDE attributes in GiST indexes 2019-03-10 11:37:17 +03:00
indexing.out Fix dependency handling of column drop with partitioned tables 2019-10-13 17:51:55 +09:00
indirect_toast.out Clean up duplicate table and function names in regression tests. 2018-03-15 17:09:02 -04:00
inet.out Add sort support routine for the inet data type. 2019-08-01 09:34:14 -07:00
inherit.out Disallow changing an inherited column's type if not all parents changed. 2019-08-18 17:11:57 -04:00
init_privs.out Fix typos in comments. 2017-02-06 11:33:58 +02:00
insert.out Add tests for error message generation in partition tuple routing 2019-05-06 21:44:24 +09:00
insert_conflict.out Don't mark partitioned indexes invalid unnecessarily 2018-12-05 13:31:51 -03:00
int2.out Hand code string to integer conversion for performance. 2018-07-22 14:58:23 -07:00
int4.out Deduplicate "invalid input syntax" messages for various types. 2018-07-22 14:58:01 -07:00
int8.out Change floating-point output format for improved performance. 2019-02-13 15:20:33 +00:00
interval.out Fix integer-overflow edge case detection in interval_mul and pgbench. 2019-11-07 11:22:58 -05:00
join.out Prevent bogus pullup of constant-valued functions returning composite. 2019-09-24 12:11:32 -04:00
join_hash.out Fix representation of hash keys in Hash/HashJoin nodes. 2019-08-02 00:02:46 -07:00
json.out Remove unnecessary test dependency on the contents of pg_pltemplate. 2019-08-21 10:43:23 -04:00
json_encoding.out Factor out encoding specific tests for json 2015-10-07 22:18:27 -04:00
json_encoding_1.out Factor out encoding specific tests for json 2015-10-07 22:18:27 -04:00
jsonb.out Remove unnecessary test dependency on the contents of pg_pltemplate. 2019-08-21 10:43:23 -04:00
jsonb_jsonpath.out Refactor jsonpath's compareDatetime() 2019-10-21 23:07:07 +03:00
jsonpath.out Implement jsonpath .datetime() method 2019-09-25 22:51:51 +03:00
jsonpath_encoding.out Fix some minor spec-compliance issues in jsonpath lexer. 2019-09-20 14:22:58 -04:00
jsonpath_encoding_1.out Fix some minor spec-compliance issues in jsonpath lexer. 2019-09-20 14:22:58 -04:00
limit.out Add regression tests exercising more code paths in nodeLimit.c. 2017-08-11 17:28:01 -04:00
line.out Change floating-point output format for improved performance. 2019-02-13 15:20:33 +00:00
lock.out Add more infinite recursion detection while locking a view. 2018-04-17 16:59:17 +09:00
lseg.out Improve test coverage of geometric types 2018-09-26 10:45:21 +02:00
macaddr.out hash: Add write-ahead logging support. 2017-03-14 13:27:02 -04:00
macaddr8.out Add support for EUI-64 MAC addresses as macaddr8 2017-03-15 11:16:25 -04:00
matview.out Sort the dependent objects before recursing in findDependentObjects(). 2019-01-21 13:48:14 -05:00
misc_functions.out Build out the planner support function infrastructure. 2019-02-09 18:32:23 -05:00
misc_sanity.out Move the built-in conversions into the initial catalog data. 2019-01-03 19:47:53 -05:00
money.out Fix loss of fractional digits for large values in cash_numeric(). 2019-07-26 11:59:00 -04:00
name.out Message style and wording fixes 2016-06-07 14:18:55 -04:00
namespace.out Clean up duplicate role and schema names in regression tests. 2018-03-15 14:00:31 -04:00
numeric.out Make numeric power() handle NaNs according to the modern POSIX spec. 2018-05-17 11:10:50 -04:00
numeric_big.out Fix corner-case loss of precision in numeric pow() calculation 2016-05-05 11:16:17 +01:00
numerology.out
object_address.out Warn if wal_level is too low when creating a publication. 2019-07-13 10:35:34 +12:00
oid.out
oidjoins.out Rework the pg_statistic_ext catalog 2019-06-16 01:20:31 +02:00
opr_sanity.out Straighten out leakproofness markings on text comparison functions. 2019-09-21 16:56:30 -04:00
partition_aggregate.out Speed up planning when partitions can be pruned at plan time. 2019-03-30 18:58:55 -04:00
partition_info.out Fix crash with pg_partition_root 2019-03-22 17:27:38 +09:00
partition_join.out Generate EquivalenceClass members for partitionwise child join rels. 2019-11-05 11:42:24 -05:00
partition_prune.out Rely on plan_cache_mode to force generic plans in partition_prune test. 2019-09-30 17:14:00 -04:00
password.out Fix use of term "verifier" 2019-10-12 21:41:59 +02:00
path.out Improve test coverage of geometric types 2018-09-26 10:45:21 +02:00
pg_lsn.out Add min() and max() aggregates for pg_lsn 2019-07-05 12:21:11 +09:00
plancache.out Add plan_cache_mode setting 2018-07-16 13:35:41 +02:00
plpgsql.out Fix grammar in error message 2019-05-09 09:16:59 +02:00
point.out Change floating-point output format for improved performance. 2019-02-13 15:20:33 +00:00
polygon.out Fix double-word typos 2019-06-13 10:03:56 -04:00
polymorphism.out Fix lexing of standard multi-character operators in edge cases. 2018-08-23 21:42:40 +01:00
portals.out Fix failure in WHERE CURRENT OF after rewinding the referenced cursor. 2018-09-23 16:05:45 -04:00
portals_p2.out
prepare.out Add more tests for CREATE TABLE AS with WITH NO DATA 2019-02-07 09:21:57 +09:00
prepared_xacts.out Remove unnecessary dependency on statement_timeout in prepared_xacts test. 2017-03-13 16:46:32 -04:00
prepared_xacts_1.out Remove unnecessary dependency on statement_timeout in prepared_xacts test. 2017-03-13 16:46:32 -04:00
privileges.out Use checkAsUser for selectivity estimator checks, if it's set. 2019-05-06 11:54:32 +01:00
psql.out Improve coverage of psql for backslash commands with \if and \elif 2019-09-12 10:35:13 +09:00
psql_crosstab.out Fix incorrect error reporting for duplicate data in \crosstabview. 2016-12-25 16:04:45 -05:00
publication.out Warn if wal_level is too low when creating a publication. 2019-07-13 10:35:34 +12:00
random.out
rangefuncs.out Fix improper interaction of FULL JOINs with lateral references. 2019-04-08 16:09:26 -04:00
rangetypes.out Fix oversight in commit 4429f6a9e3. 2019-09-27 07:56:39 +05:30
regex.linux.utf8.out Make locale-dependent regex character classes work for large char codes. 2016-09-05 17:06:29 -04:00
regex.out Fix regression test outputs 2019-05-17 09:40:02 +09:00
regproc.out Establish conventions about global object names used in regression tests. 2016-07-17 18:42:43 -04:00
reindex_catalog.out Remove reindex_catalog test from test schedules. 2019-05-10 12:44:31 -07:00
reloptions.out Add vacuum_truncate reloption. 2019-04-08 16:43:57 +09:00
replica_identity.out Simplify psql \d's rule for ordering the indexes of a table. 2019-07-02 12:32:49 -04:00
returning.out Add support for INSERT ... ON CONFLICT DO NOTHING/UPDATE. 2015-05-08 05:43:10 +02:00
roleattributes.out Remove WITH OIDS support, change oid catalog column visibility. 2018-11-20 16:00:17 -08:00
rowsecurity.out Fix usage of whole-row variables in WCO and RLS policy expressions. 2019-09-12 18:29:45 -04:00
rowtypes.out Allow extracting fields from a ROW() expression in more cases. 2019-10-28 15:08:24 -04:00
rules.out Add pg_stats_ext view for extended statistics 2019-06-16 01:20:39 +02:00
sanity_check.out Remove obsolete information schema tables 2019-10-25 21:37:14 +02:00
security_label.out Establish conventions about global object names used in regression tests. 2016-07-17 18:42:43 -04:00
select.out Make some subquery-using test cases a bit more robust. 2018-10-14 14:02:59 -04:00
select_distinct.out Disable physical tlist if any Var would need multiple sortgroupref labels. 2016-05-26 14:52:30 -04:00
select_distinct_on.out
select_having.out
select_having_1.out
select_having_2.out
select_implicit.out
select_implicit_1.out
select_implicit_2.out
select_into.out Add more tests for CREATE TABLE AS with WITH NO DATA 2019-02-07 09:21:57 +09:00
select_parallel.out Finish reverting "Insert temporary debugging output in regression tests." 2019-09-27 11:20:09 -04:00
select_views.out Add text-vs-name cross-type operators, and unify name_ops with text_ops. 2018-12-19 17:46:25 -05:00
sequence.out Make command order in test more sensible 2019-10-22 10:35:54 +02:00
spgist.out Repair double-free in SP-GIST rescan (bug #15378) 2018-09-11 18:14:19 +01:00
stats.out Partially revert "Insert temporary debugging output in regression tests." 2019-08-11 18:55:32 -04:00
stats_ext.out Fix intermittent self-test failures caused by the stats_ext test. 2019-09-15 13:13:59 +01:00
strings.out Handle empty-string edge cases correctly in strpos(). 2019-10-28 12:21:13 -04:00
subscription.out Fix regression tests to use only global names beginning with "regress_". 2019-06-29 11:09:03 -04:00
subselect.out Fix choice of comparison operators for cross-type hashed subplans. 2019-08-05 11:20:31 -04:00
sysviews.out Add GUC enable_partition_pruning 2018-04-23 17:57:43 -03:00
tablesample.out Don't scan partitioned tables. 2017-03-21 09:48:04 -04:00
temp.out Fix random regression failure in test case "temp" 2019-08-13 10:55:19 +09:00
text.out Improve plural handling in error message 2017-08-23 13:56:59 -04:00
tidscan.out Add a hash opclass for type "tid". 2018-12-30 15:40:04 -05:00
time.out
timestamp.out Support for FF1-FF6 datetime format patterns 2019-09-16 21:14:32 +03:00
timestamptz.out Support for FF1-FF6 datetime format patterns 2019-09-16 21:14:32 +03:00
timetz.out Fix some incorrect parsing of time with time zone strings 2019-08-07 18:16:31 +09:00
transactions.out Improve new AND CHAIN tests 2019-09-09 10:30:22 +02:00
triggers.out Prevent possible double-free when update trigger returns old tuple. 2019-08-15 20:04:19 -04:00
truncate.out Un-hide most cascaded-drop details in regression test results. 2019-03-24 19:15:37 -04:00
tsdicts.out Validate ispell dictionaries more carefully. 2019-11-02 16:45:32 -04:00
tsearch.out Allow functions-in-FROM to be pulled up if they reduce to constants. 2019-08-01 18:50:22 -04:00
tsrf.out Fix handling of targetlist SRFs when scan/join relation is known empty. 2019-03-07 14:22:13 -05:00
tstypes.out More float test and portability fixes. 2019-02-13 19:35:50 +00:00
txid.out Add a txid_status function. 2017-03-24 12:00:53 -04:00
type_sanity.out Harden tableam against nonexistant / wrong kind of AMs. 2019-04-04 17:39:39 -07:00
typed_table.out Suppress less info in regression tests using DROP CASCADE. 2017-08-01 16:49:23 -04:00
union.out Repair issues with faulty generation of merge-append plans. 2019-05-09 16:53:05 -04:00
updatable_views.out Support reloptions of enum type 2019-09-25 15:56:52 -03:00
update.out Fix system column accesses in ON CONFLICT ... RETURNING. 2019-07-24 18:45:58 -07:00
uuid.out Add gen_random_uuid function 2019-07-14 14:30:27 +02:00
vacuum.out Fix "ANALYZE t, t" inside a transaction block. 2019-08-10 11:30:11 -04:00
varchar.out
varchar_1.out
varchar_2.out
window.out Selectively include window frames in expression walks/mutates. 2019-10-03 10:54:52 +01:00
with.out Revert MERGE patch 2018-04-12 11:22:56 +01:00
write_parallel.out Allow DML commands that create tables to use parallel query. 2017-10-05 11:40:48 -04:00
xml.out Avoid failure when selecting a namespace node in XMLTABLE. 2019-10-25 15:22:45 -04:00
xml_1.out Avoid failure when selecting a namespace node in XMLTABLE. 2019-10-25 15:22:45 -04:00
xml_2.out Avoid failure when selecting a namespace node in XMLTABLE. 2019-10-25 15:22:45 -04:00
xmlmap.out Fix cursor_to_xml in tableforest false mode 2017-05-03 21:41:10 -04:00
xmlmap_1.out Fix cursor_to_xml in tableforest false mode 2017-05-03 21:41:10 -04:00