On 07/05/20 06:44, Kartik Ohri wrote:
>> Have you written out the assumptions that must be true of pg_config's
>> output, for parsing it into the separate properties to be reliable?
>>
> The only assumption I make is that pg_config prints each variable
> separated by the system's file separator.
Anything about the system's line separator?
Anything about what characters are or are not allowed to be present
inside any of the variables being printed?
I am emphasizing this now because it involves the same kind of thinking
that the Windows ProcessBuilder workaround will require a lot of.
Regards,
-Chap