GetSubscriptionRelations declares too many scan keys - Mailing list pgsql-hackers

From Peter Smith
Subject GetSubscriptionRelations declares too many scan keys
Date
Msg-id CAHut+PsLKe+rN3FjchoJsd76rx2aMsFTB7CTFxRgUP05p=kcpQ@mail.gmail.com
Whole thread Raw
Responses Re: GetSubscriptionRelations declares too many scan keys
List pgsql-hackers
The function GetSubscriptionRelations was declaring ScanKeyData
skey[2]; but actually
only uses 1 scan key. It seems like the code was cut/paste from other
nearby functions
which really are using 2 keys.

PSA a trivial patch to declare the correct number of keys for this function.

------
Kind Regards,
Peter Smith.
Fujitsu Australia

Attachment

pgsql-hackers by date:

Previous
From: Fabien COELHO
Date:
Subject: Re: seawasp failing, maybe in glibc allocator
Next
From: Julien Rouhaud
Date:
Subject: Re: Remove "FROM" in "DELETE FROM" when using tab-completion