Re: initdb / bootstrap design
От | Andres Freund |
---|---|
Тема | Re: initdb / bootstrap design |
Дата | |
Msg-id | 154B31E4-DE61-42F6-B3EB-FFF59A23EF37@anarazel.de обсуждение исходный текст |
Ответ на | Re: initdb / bootstrap design (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | pgsql-hackers |
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.
В списке pgsql-hackers по дате отправления: