On 17-11-2020 11:00, Thomas Munro wrote:
> On Tue, Nov 17, 2020 at 8:02 PM Condor <condor@stz-bg.com> wrote:
>> I try to compile postgres again with (cd src/backend/commands; sed
>> 's/TRUE/true/' collationcmds.c > collationcmds.c; ) and it's compiled
>> but get new error on linking:
>
> Doesn't that produce an empty file collationcmds.c? I think you want:
>
> sed 's/TRUE/true/' collationcmds.c > collationcmds.c.tmp && mv
> collationcmds.c.tmp collationcmds.c
Yes,
you are right. Changing script to (cd src/backend/commands; sed
's/TRUE/true/' collationcmds.c > collationcmds.c.tmp; mv
collationcmds.c.tmp collationcmds.c )
and PostgreSQL is compiled without any errors and working like a charm.
Best Regards,
Hristo Simeonov