Re: Re: [PATCHES] Fw: Isn't pg_statistic a security hole - Solution Proposal

From: "Joe Conway" <joseph(dot)conway(at)home(dot)com>
To: "Peter Eisentraut" <peter_e(at)gmx(dot)net>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "PostgreSQL Development" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Re: [PATCHES] Fw: Isn't pg_statistic a security hole - Solution Proposal
Date: 2001-06-14 01:19:52
Message-ID: 006301c0f470$1d8dca40$d7d310ac@jecw2k1
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

> What I suggest we do is apply the portions of Joe's latest patch that
> support has_table_privilege with OID inputs and with NAME inputs,
> omitting the combinations that take TEXT inputs and do casefolding.
> We can add that part later if it proves that people do indeed want it.
>
> I have specific reasons for wanting to keep the functions accepting
> NAME rather than TEXT: that will save a run-time type conversion in the
> common case where one is reading the input from a system catalog, and
> it will at least provide automatic truncation of overlength names when
> one is accepting a literal. (I trust Peter won't object to that ;-).)
>

I'll rework the patch per the above and resend.

Thanks,

-- Joe

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2001-06-14 01:20:30 Re: Australian timezone configure option
Previous Message Nathan Myers 2001-06-14 01:05:42 Re: Australian timezone configure option

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2001-06-14 01:20:30 Re: Australian timezone configure option
Previous Message Nathan Myers 2001-06-14 01:05:42 Re: Australian timezone configure option