Re: Logical replication support for generic wal record

2022-08-24 Thread Natarajan R
Thanks, I'll check it out. On Wed, 24 Aug 2022 at 18:00, Bharath Rupireddy < bharath.rupireddyforpostg...@gmail.com> wrote: > On Wed, Aug 24, 2022 at 5:12 PM Natarajan R wrote: > > > > > > On Mon, 22 Aug 2022 at 12:16, Bharath Rupireddy < > bharath.rupi

Re: Logical replication support for generic wal record

2022-08-24 Thread Natarajan R
On Mon, 22 Aug 2022 at 12:16, Bharath Rupireddy < bharath.rupireddyforpostg...@gmail.com> wrote: > On Mon, Aug 22, 2022 at 11:59 AM Natarajan R > wrote: > > > > Hi All, > > > > I am writing a postgres extension which writes only generic wal record, > bu

Logical replication support for generic wal record

2022-08-22 Thread Natarajan R
Hi All, I am writing a postgres extension which writes only generic wal record, but this wal is not recognized by logical replication decoder. I have a basic understanding of how logical replication(COPY command for initial sync, wal replica for final sync) works, can you please tell us a way to

Re: Compressed pluggable storage experiments

2022-08-18 Thread Natarajan R
Hi all, This is a continuation of the above thread... >> > 4. In order to use WAL-logging each page must start with a standard 24 >> > byte PageHeaderData even if it is needless for storage itself. Not a >> > big deal though. Another (acutally documented) WAL-related limitation >> > is that only

Valgrind mem-check for postgres extension

2022-05-17 Thread Natarajan R
s in pg_config_manual.h under *USE_VALGRIND *macro, pls provide some guidance here.. Thank you, Natarajan R

Postgres cache

2019-10-31 Thread Natarajan R
Hi, I want to know how postgres stores catalog relations in cache in-depth. Is there any documentation for that?

pg_init

2019-10-08 Thread Natarajan R
I want to read pg_database from pg_init... Is using heap_open() is possible? or else any other way is there ?

HashTable KeySize

2019-10-04 Thread Natarajan R
typedef struct HashTableKey { Oid dbId; // 4 bytes int64 productid; // 8 bytes }HashTableKey; (total size - 12 bytes) typedef struct HashTableEntry { HashTableKey key; ProductInfo *pdt; }HashTableEntry; HASHCTL hashInfo; hashInfo.keysize = sizeof(HashTableKey); hashInfo.entrysize =

Shared memory

2019-10-04 Thread Natarajan R
Why postgres not providing freeing shared memory?

Re: Regarding extension

2019-10-03 Thread Natarajan R
On Thu, 3 Oct 2019 at 20:54, Tomas Vondra wrote: > On Thu, Oct 03, 2019 at 07:51:04PM +0530, Natarajan R wrote: > >Thanks for your response Euler. > > > >1) > >"id" i meant by database id > > > >I make my question simple, " during pg_in

Re: Regarding extension

2019-10-03 Thread Natarajan R
t trigger will be invoked or not? " Thanks... On Thu, 3 Oct 2019 at 19:31, Euler Taveira wrote: > Em qui, 3 de out de 2019 às 02:24, Natarajan R > escreveu: > > > > I am creating sample extension in postgres, For that "During PG_INIT, i > want to get the list of database Id