Re: ereport bug

From: Воронин Дмитрий <carriingfate92(at)yandex(dot)ru>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: ereport bug
Date: 2015-01-15 12:22:03
Message-ID: 2817001421324523@web25h.yandex.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello all

I see your patch, Tom. It works on my postgres 9.4 (intel x86_64). I write a letter if I can test it on others platform.

Thank you!

14.01.2015, 21:40, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>:
> Robert Haas <robertmhaas(at)gmail(dot)com> writes:
>>  On Mon, Jan 12, 2015 at 6:27 AM, Dmitry Voronin
>>  <carriingfate92(at)yandex(dot)ru> wrote:
>>>  I am attaching to this letter a test case that shows the behavior
>>>  errcontext() macro and the way to fix it.
>>  So the upshot of this is that given errfinish(A, B, C), where A, B,
>>  and C are expressions, my gcc is choosing to evaluate C, then B, then
>>  A, then the errfinish call itself.  But whoever wrote the errcontext()
>>  macro evidently thought, in this kind of situation, the compiler would
>>  be certain to evaluate A, then B, then C, then errfinish.  But it
>>  doesn't.
>
> http://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=1f9bf05e539646103c518bcbb49c04919b238f7a
>
>                         regards, tom lane

--
С уважением, Дмитрий Воронин

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message M Tarkeshwar Rao 2015-01-15 12:22:29 can you have any idea about toast missing chunk issu resolution
Previous Message Michael Paquier 2015-01-15 12:06:53 Re: Fillfactor for GIN indexes