Re: bad style for SECURITY DEFINER

From: "Jonathan S(dot) Katz" <jkatz(at)postgresql(dot)org>
To: Justin Pryzby <pryzby(at)telsasoft(dot)com>, Daniel Gustafsson <daniel(at)yesql(dot)se>
Cc: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>, pgsql-www(at)postgresql(dot)org
Subject: Re: bad style for SECURITY DEFINER
Date: 2021-12-13 21:33:05
Message-ID: 3686660c-02a4-7b06-98e9-34a30bb7be08@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-www

On 12/13/21 9:01 AM, Justin Pryzby wrote:
> On Mon, Dec 13, 2021 at 02:11:24PM +0100, Daniel Gustafsson wrote:
>>> On 13 Dec 2021, at 11:35, Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com> wrote:
>>>
>>> On 13.12.21 01:17, Justin Pryzby wrote:
>>>> The title of this section looks poor in the first two web browsers I tried.
>>>> https://www.postgresql.org/docs/current/sql-createfunction.html#id-1.9.3.67.10.2
>>>> | Writing SECURITY DEFINER Functions Safely

The below seems to do the trick. Tested in Chrome, FF, and Safari.
Screenshot attached.

If no objections I'll push the patch tomorrow.

Thanks,

Jonathan

diff --git a/media/css/main.css b/media/css/main.css
index d97da4d..955f612 100644
--- a/media/css/main.css
+++ b/media/css/main.css
@@ -877,6 +877,10 @@ code,
font-size: inherit !important;
}

+#docContent h2 code {
+ margin: 0.5em;
+}
+
#docContent .NAVHEADER table th,
#docContent .navheader table th {
text-align: center;

Attachment Content-Type Size
image/png 25.9 KB

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Daniel Gustafsson 2021-12-13 21:43:42 Re: bad style for SECURITY DEFINER
Previous Message Justin Pryzby 2021-12-13 14:01:10 Re: bad style for SECURITY DEFINER

Browse pgsql-www by date

  From Date Subject
Next Message Daniel Gustafsson 2021-12-13 21:43:42 Re: bad style for SECURITY DEFINER
Previous Message Stephen Andert 2021-12-13 21:12:20 Requesting editor access