Re: [HACKERS] Regarding Postgres Dynamic Shared Memory (DSA)

2017-06-20 Thread Mahendranath Gurram
Hi Thomas, Any update on this? Please let me know how can i proceed further. Thanks Best Regards, -Mahi On Fri, 16 Jun 2017 18:47:37 +0530 Mahi Gurram teckym...@gmail.com wrote Hi Thomas, Thanks for your response and suggestions to change the code. Now i

Re: [HACKERS] Regarding Postgres Dynamic Shared Memory (DSA)

2017-06-21 Thread Mahendranath Gurram
. On Wed, 21 Jun 2017 12:02:30 +0530 Thomas Munro thomas.mu...@enterprisedb.com wrote On Wed, Jun 21, 2017 at 5:27 PM, Mahendranath Gurram mahendran...@zohocorp.com wrote: Initially i tried to design the same way. I mean, i have created a background worker and created dsa in it. I

Re: [HACKERS] Regarding Postgres Dynamic Shared Memory (DSA)

2017-06-20 Thread Mahendranath Gurram
Hi Thomas, Thanks for taking time and explaining the things. Postgres extensions can't rely on backends inheriting the postmaster's memory map like this (other than the main shared memory areas which the core code looks after). For one thing, new backends aren't created with fork() on

Re: [HACKERS] Regarding Postgres Dynamic Shared Memory (DSA)

2017-06-20 Thread Mahendranath Gurram
divides the task and multiplies the success. On Tue, 20 Jun 2017 16:47:24 +0530 Dilip Kumar dilipbal...@gmail.com wrote On Tue, Jun 20, 2017 at 3:16 PM, Mahendranath Gurram mahendran...@zohocorp.com wrote: Hi Thomas, Any update on this? Please let me know how can i

Re: [HACKERS] Regarding Postgres Dynamic Shared Memory (DSA)

2017-06-22 Thread Mahendranath Gurram
, -Mahi Teamwork divides the task and multiplies the success. On Wed, 21 Jun 2017 13:13:28 +0530 Mahendranath Gurram mahendran...@zohocorp.com wrote Hi Thomas, I like the whole idea. In fact, i understood this in your very first response itself. Only thing is every time i

Re: [HACKERS] Regarding Postgres Dynamic Shared Memory (DSA)

2017-06-22 Thread Mahendranath Gurram
On Thu, Jun 22, 2017 at 10:59 PM, Mahendranath Gurram mahendran...@zohocorp.com wrote: I'm implementing the In-Memory index as per your suggestion. So far it's good. Great news. As of now, only one thing is unclear for me. How could i detach the dsa(dsa_detach() call) in backend