From: | Andres Freund <andres(at)anarazel(dot)de> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Andrew Dunstan <andrew(at)dunslane(dot)net>, Robert Haas <robertmhaas(at)gmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: initdb / bootstrap design |
Date: | 2022-02-20 00:49:14 |
Message-ID: | 154B31E4-DE61-42F6-B3EB-FFF59A23EF37@anarazel.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi,
On February 19, 2022 4:39:38 PM PST, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>Andres Freund <andres(at)anarazel(dot)de> writes:
>> A quick way to prototype the moving the handlign to the backend would be to
>> just call postgres with input redirection from postgres.bki...
>
>Hmm. I was thinking of inventing an include-file command in the
>BKI language, and making initdb just send an INCLUDE command.
>That's arguably overkill for the immediate need, but it looks like it
>requires just a few lines of code (flex provides pretty much all of the
>infrastructure already), and maybe we'd find another use for it later.
>
>However, redirection does sound like a very easy answer ...
Medium term I'd rather do neither, because I'd like to avoid the restart in-between bootstrap and the various sql files. But short term redirection redirection might be good enough - it does mostly work on windows I think ...
Andres
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Geoghegan | 2022-02-20 01:22:33 | Re: Removing more vacuumlazy.c special cases, relfrozenxid optimizations |
Previous Message | Tom Lane | 2022-02-20 00:39:38 | Re: initdb / bootstrap design |