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 CAPXBC8J9qxDA827+z2x55N8=Qpd6_PQqqLC0qdVsPNRrHVPBbw@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] Add pg_get_trigger_ddl() to retrieve the CREATE TRIGGER statement  (jian he <jian.universality@gmail.com>)
List pgsql-hackers
Hi Jian,
 
maybe we can return NULL for
select pg_get_trigger_ddl(-1, 'h');

Yes, I had the same idea last night. Running PG_RETURN_NULL would also be similar to how other functions handle it. 

Thanks, and I will make the change.

--
Best, Phil Alger

pgsql-hackers by date:

Previous
From: Philip Alger
Date:
Subject: Re: [PATCH] Add pg_get_policy_ddl() function to reconstruct CREATE POLICY statement
Next
From: Akshay Joshi
Date:
Subject: Re: [PATCH] Add pg_get_policy_ddl() function to reconstruct CREATE POLICY statement