Re: in-catalog Extension Scripts and Control parameters (templates?)
Jaime Casanova <jaime@2ndquadrant.com>
From: Jaime Casanova <jaime@2ndquadrant.com>
To: Dimitri Fontaine <dimitri@2ndquadrant.fr>
Cc: Hitoshi Harada <umi.tanuki@gmail.com>,
Heikki Linnakangas <hlinnakangas@vmware.com>,
Alvaro Herrera <alvherre@2ndquadrant.com>,
Stephen Frost <sfrost@snowman.net>,
Tom Lane <tgl@sss.pgh.pa.us>,
PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2013-07-08T04:17:49Z
Lists: pgsql-hackers
On Sat, Jul 6, 2013 at 2:25 PM, Dimitri Fontaine <dimitri@2ndquadrant.fr> wrote: > Jaime Casanova <jaime@2ndquadrant.com> writes: >> not sure if you're wrong. but at the very least, you miss a >> heap_freetuple(oldtup) there, because get_catalog_object_by_oid() > > Well, oldtup can be either a syscache copy or a heap tuple. I've been > looking at other call sites and they don't free their tuple either. So > I'm leaving it at that for now. > >> no, that code is not unchanged because function >> get_ext_ver_list_from_catalog() comes from your patch. > > Yes. Here's the relevant hunk: > No. That's get_ext_ver_list_from_files() and that function is unchanged (except for the name). I'm talking about get_ext_ver_list_from_catalog() which is a different function. -- Jaime Casanova www.2ndQuadrant.com Professional PostgreSQL: Soporte 24x7 y capacitación Phone: +593 4 5107566 Cell: +593 987171157