Inconsistent error message in bt_page_items_bytea(). - Mailing list pgsql-hackers

From Ashutosh Sharma
Subject Inconsistent error message in bt_page_items_bytea().
Date
Msg-id CAE9k0PnZuZ3PVXSyQY91-53E8JKFcaSyknFqqU43r9MabKSYZA@mail.gmail.com
Whole thread Raw
Responses Re: Inconsistent error message in bt_page_items_bytea().  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
Hi All,

All the pageinspect functions dealing with raw page has the error
message as "must be superuser to use raw page function" however,
that's not true for bt_page_items_bytea() which has  "must be
superuser to use pageinspect functions". This seems to me like a copy
paste error which got transferred from bt_page_items (the function
that doesn't deal with raw page).

Attached is the patch with the correct error message.

-- 
With Regards,
Ashutosh Sharma
EnterpriseDB:http://www.enterprisedb.com

Attachment

pgsql-hackers by date:

Previous
From: Alexander Korotkov
Date:
Subject: My Skype account (korotkovae) was hacked
Next
From: Fabien COELHO
Date:
Subject: Re: pgbench - very minor bug fix on hash() missing argument