Re: Change location of function/type installed from C-extension

From: Dmitry Lazurkin <dilaz03(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Change location of function/type installed from C-extension
Date: 2017-08-26 18:50:10
Message-ID: 62b1225f-e863-db03-b957-6f51b817ff89@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 26.08.2017 18:24, Tom Lane wrote:
> You need to use pg_relation_filenode():
>
> regression=# select relname, pg_relation_filenode(oid) from pg_class where relname like 'pg_proc%';
> relname | pg_relation_filenode
> --------------------------------+----------------------
> pg_proc_oid_index | 12662
> pg_proc | 12657
> pg_proc_proname_args_nsp_index | 12663
> (3 rows)
>
> regards, tom lane

Thanks. Can I update "pg_proc.probin" without any problems?

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2017-08-26 19:05:18 Re: Change location of function/type installed from C-extension
Previous Message Tom Lane 2017-08-26 15:24:58 Re: Change location of function/type installed from C-extension