pgsql: Move snowball_create.sql creation into perl file

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Move snowball_create.sql creation into perl file
Date: 2022-07-18 19:56:18
Message-ID: E1oDWqn-000ADG-P9@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Move snowball_create.sql creation into perl file

This is in preparation for building postgres with meson / ninja.

We already have duplicated code for this between the make and msvc
builds. Adding a third copy seems like a bad plan, thus move the generation
into a perl script.

As we don't want to rely on perl being available for builds from tarballs,
generate the file during distprep.

Author: Peter Eisentraut <peter(at)eisentraut(dot)org>
Author: Andres Freund <andres(at)anarazel(dot)de>
Discussion: https://postgr.es/m/5e216522-ba3c-f0e6-7f97-5276d0270029@enterprisedb.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b3a0d8324cf1f02c04a7099a436cfd68cfbf4566

Modified Files
--------------
src/backend/snowball/Makefile | 106 ++++++-----------------
src/backend/snowball/snowball_create.pl | 148 ++++++++++++++++++++++++++++++++
src/tools/msvc/Install.pm | 36 +-------
3 files changed, 179 insertions(+), 111 deletions(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2022-07-18 21:14:08 Re: pgsql: ecpg: Output dir, source dir, stamp file argument for preproc/*.
Previous Message Peter Eisentraut 2022-07-18 19:08:23 pgsql: Re-add SPICleanup for ABI compatibility in stable branch

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2022-07-18 19:58:17 Re: Doc about how to set max_wal_senders when setting minimal wal_level
Previous Message Robert Haas 2022-07-18 19:55:59 Re: Use fadvise in wal replay