Re: [PATCH] Add pg_get_trigger_ddl() to retrieve the CREATE TRIGGER statement - Mailing list pgsql-hackers

From Philip Alger
Subject Re: [PATCH] Add pg_get_trigger_ddl() to retrieve the CREATE TRIGGER statement
Date
Msg-id CAPXBC8L_fuv9zPvFaVVT8Scb=mArDUz4riZn9nEydJbOhtc8Xg@mail.gmail.com
Whole thread
In response to Re: [PATCH] Add pg_get_trigger_ddl() to retrieve the CREATE TRIGGER statement  (Marcos Pegoraro <marcos@f10.com.br>)
Responses Re: [PATCH] Add pg_get_trigger_ddl() to retrieve the CREATE TRIGGER statement
List pgsql-hackers
Hi Marcos, 
 this will make it incompatible with pg_get_table_ddl, because that function uses your code and might not return this way since the user could be cloning a table to a different schema.


I am not sure I understand. Could you provide an example, please? Thanks.


--
Best,
Phil Alger

pgsql-hackers by date:

Previous
From: Corey Huinker
Date:
Subject: Re: The PostgreSQL C Dialect
Next
From: Paul A Jungwirth
Date:
Subject: Re: Fix RETURNING side effects for FOR PORTION OF leftover rows