Re: Thoughts on using Text::Template for our autogenerated code?

From: Corey Huinker <corey(dot)huinker(at)gmail(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Thoughts on using Text::Template for our autogenerated code?
Date: 2023-03-30 20:54:46
Message-ID: CADkLM=dLCgwX4J1uLJ0O5oEgezU06ut_zOO7SVgT65CjShXNWg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>
> I think many of those could just be replaced by multi-line strings and/or
> here
> documents to get most of the win.
>

I agree that a pretty good chunk of it can be done with here-docs, but
template files do have attractive features (separation of concerns, syntax
highlighting, etc) that made it worth asking.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Corey Huinker 2023-03-30 21:15:20 Re: Thoughts on using Text::Template for our autogenerated code?
Previous Message Daniel Gustafsson 2023-03-30 20:53:03 Re: pgsql: Clean up role created in new subscription test.