mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-12 15:46:54 +08:00
Consider previously deleted tuples for insert page [skip ci]
This commit is contained in:
@@ -413,7 +413,13 @@ MarkDeleted(HnswVacuumState * vacuumstate)
|
|||||||
|
|
||||||
/* Skip deleted tuples */
|
/* Skip deleted tuples */
|
||||||
if (etup->deleted)
|
if (etup->deleted)
|
||||||
|
{
|
||||||
|
/* Set to first free page */
|
||||||
|
if (!BlockNumberIsValid(insertPage))
|
||||||
|
insertPage = blkno;
|
||||||
|
|
||||||
continue;
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
/* Skip live tuples */
|
/* Skip live tuples */
|
||||||
if (ItemPointerIsValid(&etup->heaptids[0]))
|
if (ItemPointerIsValid(&etup->heaptids[0]))
|
||||||
|
|||||||
Reference in New Issue
Block a user