Inconsistent error message in bt_page_items_bytea().
Ashutosh Sharma <ashu.coek88@gmail.com>
From: Ashutosh Sharma <ashu.coek88@gmail.com>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2018-07-27T11:43:37Z
Lists: pgsql-hackers
Attachments
- fix-error-message_bt_page_items_bytea.patch (text/x-patch) patch
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
Commits
-
Make error message of pageinspect more consistent for raw page inputs
- 59eb12c9c5a5 12.0 landed