From: | Mahi Gurram <teckymahi(at)gmail(dot)com> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Regarding Postgres Dynamic Shared Memory (DSA) |
Date: | 2017-05-23 10:42:03 |
Message-ID: | CAGg=GufsiYRCUK1aAYXr_BWKBMt+wKNtHgFdTjYxzS3zjy+A=A@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hello everyone,
I'm building In-Memory index extension for Postgres, for which i'm trying
to use DSA. But ended with some issues, as it is not allowing me to create
DSA(Dynamic Shared Area) in _PG_init function.
Please refer my_PG_init code below:
> void
> _PG_init(void)
> {
> area = dsa_create(LWLockNewTrancheId(), "CustomIndex_DSA");
> area_handle = dsa_get_handle(area);
> }
Because of this code, Postgres is not starting. Not even giving any error
messages in pg logs. Hence, i'm totally clue less :(
Please let me know how to proceed. Your help is highly appreciated.
PS: Applied all the DSM related patches over Postgres 9.6.1 as per below
thread and confirmed the same by running some test programs.
Thanks & Best Regards,
- Mahi
From | Date | Subject | |
---|---|---|---|
Next Message | Neha Khatri | 2017-05-23 10:49:54 | Re: Improve logical decoding error message (was wal_level > WAL_LEVEL_LOGICAL) |
Previous Message | Heikki Linnakangas | 2017-05-23 10:36:02 | Re: Error-like LOG when connecting with SSL for password authentication |