From: | Sergei Kornilov <sk(at)zsrv(dot)org> |
---|---|
To: | Michael Paquier <michael(at)paquier(dot)xyz> |
Cc: | PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: complier warnings from ecpg tests |
Date: | 2019-08-02 07:33:31 |
Message-ID: | 29833681564731211@iva1-9be92bdead40.qloud-c.yandex.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi
>> Thanks for the set of flags. So this comes from the use of -Og, and
>> the rest of the tree does not complain. The issue is that gcc
>> complains about the buffer not being large enough, but %d only uses up
>> to 2 characters so there is no overflow. In order to fix the issue it
>> is fine enough to increase the buffer size to 28 bytes, so I would
>> recommend to just do that. This is similar to the business done in
>> 3a4b891.
>
> And fixed with a9f301d.
Thank you! My compiler is now quiet
regards, Sergei
From | Date | Subject | |
---|---|---|---|
Next Message | Adrien Nayrat | 2019-08-02 07:53:40 | Re: idea: log_statement_sample_rate - bottom limit for sampling |
Previous Message | John Naylor | 2019-08-02 07:12:20 | Re: [proposal] de-TOAST'ing using a iterator |