Re: checking snapshot argument for index_beginscan - Mailing list pgsql-hackers

From Ted Yu
Subject Re: checking snapshot argument for index_beginscan
Date
Msg-id CALte62y1qY8XDM0X42gq8a3ECMuoPaQWB8KBxu0FXkwz4wGF8Q@mail.gmail.com
Whole thread Raw
Responses Re: checking snapshot argument for index_beginscan  (Pavel Borisov <pashkin.elfe@gmail.com>)
List pgsql-hackers
Hi,
I was looking at commit 941aa6a6268a6a66f6895401aad6b5329111d412 .

I think it would be better to move the assertion into `index_beginscan_internal` because it is called by index_beginscan and index_beginscan_bitmap

In the future, when a new variant of `index_beginscan_XX` is added, the assertion would be effective for the new variant.

Please let me know what you think.

Cheers
Attachment

pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: Schema variables - new implementation for Postgres 15 (typo)
Next
From: Pavel Borisov
Date:
Subject: Re: checking snapshot argument for index_beginscan