postgresql/src/test/regress
David Rowley 3cb02e307e Fix possible crash with GENERATED ALWAYS columns
In some corner cases, this could also lead to corrupted values being
included in the tuple.

Users who are concerned that they are affected by this should first
upgrade and then perform a base backup of their database and restore onto
an off-line server. They should then query each table with generated
columns to ensure there are no rows where the generated expression does
not match a newly calculated version of the GENERATED ALWAYS expression.
If no crashes occur and no rows are returned then you're not affected.

Fixes bug #16369.

Reported-by: Cameron Ezell
Discussion: https://postgr.es/m/16369-5845a6f1bef59884@postgresql.org
Backpatch-through: 12 (where GENERATED ALWAYS columns were added.)
2020-04-18 14:10:37 +12:00
..
data
expected Fix possible crash with GENERATED ALWAYS columns 2020-04-18 14:10:37 +12:00
input Implement operator class parameters 2020-03-30 19:17:23 +03:00
output Implement operator class parameters 2020-03-30 19:17:23 +03:00
sql Fix possible crash with GENERATED ALWAYS columns 2020-04-18 14:10:37 +12:00
.gitignore
GNUmakefile Update copyrights for 2020 2020-01-01 12:21:45 -05:00
Makefile
parallel_schedule Add SQL type xid8 to expose FullTransactionId to users. 2020-04-07 12:03:59 +12:00
pg_regress_main.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
pg_regress.c Allow using Unix-domain sockets on Windows in tests 2020-03-30 17:35:29 +02:00
pg_regress.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
README
regress.c Implement operator class parameters 2020-03-30 19:17:23 +03:00
regressplans.sh
resultmap
serial_schedule Add SQL type xid8 to expose FullTransactionId to users. 2020-04-07 12:03:59 +12:00
standby_schedule

Documentation concerning how to run these regression tests and interpret
the results can be found in the PostgreSQL manual, in the chapter
"Regression Tests".