Re: [COMMITTERS] pgsql: Code cleanup in the wake of recent LWLock refactoring.

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Simon Riggs <simon(at)2ndquadrant(dot)com>, Heikki Linnakangas <hlinnaka(at)iki(dot)fi>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [COMMITTERS] pgsql: Code cleanup in the wake of recent LWLock refactoring.
Date: 2016-04-14 18:00:23
Message-ID: CAFj8pRC3qMv1s6yWem4GDezLSJNV0vo3n7APLXu4r-FeXqn2ag@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

2016-04-12 15:15 GMT+02:00 Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>:

>
>
> 2016-04-12 14:51 GMT+02:00 Robert Haas <robertmhaas(at)gmail(dot)com>:
>
>> On Tue, Apr 12, 2016 at 4:18 AM, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
>> wrote:
>> > If there will be simple way, how to fix it, then I'll fix my
>> extensions. But
>> > new API is working only when the extension has own share memory
>> segment. For
>> > some complex extensions like Orafce it means expensive refactoring.
>> >
>> > What is worst, this refactoring is difficult now, because I support
>> older
>> > versions when I have not private shared segments.
>>
>> You don't need a separate shared memory segment. You might want to
>> have a look at what we did for pldebugger:
>>
>>
>> http://git.postgresql.org/gitweb/?p=pldebugger.git;a=commitdiff;h=14c6caf08bb14a7404a8241e47a80ef5f97e451e
>>
>> I think the problem is similar to the one you are facing with orafce.
>>
>
> I'll try it. Thank you for info
>

It is working. Thank you

Pavel

>
> Pavel
>
>
>>
>> --
>> Robert Haas
>> EnterpriseDB: http://www.enterprisedb.com
>> The Enterprise PostgreSQL Company
>>
>
>

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2016-04-14 18:05:35 Re: [COMMITTERS] pgsql: Code cleanup in the wake of recent LWLock refactoring.
Previous Message Tom Lane 2016-04-14 17:49:42 pgsql: Adjust signature of walrcv_receive hook.

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2016-04-14 18:05:35 Re: [COMMITTERS] pgsql: Code cleanup in the wake of recent LWLock refactoring.
Previous Message David Steele 2016-04-14 17:40:21 Re: Refactor pg_dump as a library?