Re: [PATCH] Add pg_get_trigger_ddl() to retrieve the CREATE TRIGGER statement

Philip Alger <paalger0@gmail.com>

From: Philip Alger <paalger0@gmail.com>
To: Jim Jones <jim.jones@uni-muenster.de>
Cc: Andrew Dunstan <andrew@dunslane.net>, Cary Huang <cary.huang@highgo.ca>, jian he <jian.universality@gmail.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2025-10-18T21:34:59Z
Lists: pgsql-hackers

Attachments

Hi Jim,

You're probably initialising the buffer a bit too early:
>

Attached is v7. Moved the `initStringInfo` as suggested and reran tests.


-- 
Best,
Phil Alger