[GENERAL] logical decoding output plugin - Mailing list pgsql-general

From Torsten Förtsch
Subject [GENERAL] logical decoding output plugin
Date
Msg-id CAKkG4_kPH2SyoPXygqvkDL8BHsE9DdFz=yZeU5RcNxpQ+eterg@mail.gmail.com
Whole thread Raw
Responses Re: [GENERAL] logical decoding output plugin
List pgsql-general
Hi,

I am working on a logical decoding output plugin. I am only interested in the changes in one particular table.

One way to check for the table would be to compare class_form->relname and get_namespace_name(class_form->relnamespace). But I'd much prefer to just compare the OID of the table.

Is there a cheap way to do something like "SELECT 'schema.table'::regclass::oid" that can be called in the startup callback?

Thanks,
Torsten

pgsql-general by date:

Previous
From: John R Pierce
Date:
Subject: Re: [GENERAL] Importing SQLite database
Next
From: "Peter J. Holzer"
Date:
Subject: Re: [GENERAL] Index size