postgresql/contrib/test_decoding
Alvaro Herrera d0abe78d84
Check slot->restart_lsn validity in a few more places
Lack of these checks could cause visible misbehavior, including
assertion failures.  This was missed in commit c655077639, whereby
restart_lsn becomes invalid when the size limit is exceeded.

Also reword some existing error messages, and add errdetail(), so that
the reported errors all match in spirit.

Author: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Reviewed-by: Álvaro Herrera <alvherre@alvh.no-ip.org>
Discussion: https://postgr.es/m/20200408.093710.447591748588426656.horikyota.ntt@gmail.com
2020-04-28 20:39:04 -04:00
..
expected Check slot->restart_lsn validity in a few more places 2020-04-28 20:39:04 -04:00
specs Introduce xid8-based functions to replace txid_XXX. 2020-04-07 12:04:32 +12:00
sql Introduce xid8-based functions to replace txid_XXX. 2020-04-07 12:04:32 +12:00
.gitignore Improve isolation tests infrastructure. 2017-03-14 15:56:17 -07:00
Makefile Stop demanding that top xact must be seen before subxact in decoding. 2020-02-19 08:15:49 +05:30
logical.conf Add logical_decoding_work_mem to limit ReorderBuffer memory usage. 2019-11-19 07:32:36 +05:30
test_decoding.c Clean up newlines following left parentheses 2020-01-30 13:42:14 -03:00