]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Tighten up assertion on a local variable
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 5 Jan 2026 09:33:35 +0000 (11:33 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 5 Jan 2026 09:33:58 +0000 (11:33 +0200)
commitb63302d900767cd0fdcb13c9cc53b538f4c04b78
tree12dbffea6e3d5b66131bdbd81d4a7b7a511f44b0
parent789016be8ef015f65e9f76e5a58945b7b93f17b7
Tighten up assertion on a local variable

'lineindex' is 0-based, as mentioned in the comments.

Backpatch to v18 where the assertion was added.

Author: ChangAo Chen <cca5507@qq.com>
Reviewed-by: Chao Li <li.evan.chao@gmail.com>
Discussion: https://www.postgresql.org/message-id/tencent_A84F3C810365BB9BD08442955AE494141907@qq.com
Backpatch-through: 18
src/backend/access/heap/heapam.c