Re: Regarding the correct and best way to fetching a tablename in contrib module

2018-06-25 Thread Michael Paquier
On Mon, Jun 25, 2018 at 07:06:06PM +0530, Gaurav Mishra wrote: > here what i expect as a output : > > create extension table_name-extract; > > select extract_tablename(); > > table-name datatype-name > new_table name new > new_table1 name1 new1 > > extract_tablename : this function should giv

Regarding the correct and best way to fetching a tablename in contrib module

2018-06-25 Thread Gaurav Mishra
Hi , I have developed a new data type in PostgreSQL. The handler associated with this data type is written in C language. This handler encrypts the column data. I need help on figuring out how to get the table name when my handler code is called during CRUD and Alter table operations. let me ela

Regarding the correct and best way to fetching a tablename in contrib module

2018-06-25 Thread Gaurav Mishra
Hi folks , I have developed a new data type in PostgreSQL. The handler associated with this data type is written in C language. This handler encrypts the column data. I need help on figuring out how to get the table name when my handler code is called during CRUD and Alter table operations. let m