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

From Michael Paquier
Subject Re: Inconsistent error message in bt_page_items_bytea().
Date
Msg-id 20180729145346.GC1471@paquier.xyz
Whole thread Raw
In response to Inconsistent error message in bt_page_items_bytea().  (Ashutosh Sharma <ashu.coek88@gmail.com>)
List pgsql-hackers
On Fri, Jul 27, 2018 at 05:13:37PM +0530, Ashutosh Sharma wrote:
> 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).

Agreed.  get_raw_page_internal() mentions "must be superuser to use raw
functions" which is inconsistent with the rest, so I fixed this second
one and pushed.  Thanks!
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Jeff Janes
Date:
Subject: Re: add verbosity to pg_basebackup for sync
Next
From: Michael Paquier
Date:
Subject: Re: add verbosity to pg_basebackup for sync