[PATCH] Support SK_SEARCHNULL / SK_SEARCHNOTNULL for heap-only scans - Mailing list pgsql-hackers

From Aleksander Alekseev
Subject [PATCH] Support SK_SEARCHNULL / SK_SEARCHNOTNULL for heap-only scans
Date
Msg-id CAJ7c6TPKeh7UwEN9ORqP_dmR8uxiFhxT8Pecq01zw1HKpTBMBg@mail.gmail.com
Whole thread Raw
Responses Re: [PATCH] Support SK_SEARCHNULL / SK_SEARCHNOTNULL for heap-only scans
List pgsql-hackers
Hi hackers,

A colleague of mine wanted to use a ScanKey with SK_SEARCHNULL flag
for a heap-only scan (besides other ScanKeys) and discovered that the
result differs from what he would expect. Turned out that this is
currently not supported as it is explicitly stated in skey.h.

Although several workarounds come to mind this limitation may be
really of inconvenience for the extension authors, and implementing
corresponding support seems to be pretty straightforward.

The attached patch does this.

-- 
Best regards,
Aleksander Alekseev

Attachment

pgsql-hackers by date:

Previous
From: tender wang
Date:
Subject: ERROR: permission info at index 1 ....
Next
From: "Drouvot, Bertrand"
Date:
Subject: Re: Helper functions for wait_for_catchup() in Cluster.pm