Hi,
On February 19, 2022 4:39:38 PM PST, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>Andres Freund <andres@anarazel.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.