Re: line numbers in error messages are off wrt debuggers

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: line numbers in error messages are off wrt debuggers
Date: 2018-06-20 17:21:52
Message-ID: 24617.1529515312@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andres Freund <andres(at)anarazel(dot)de> writes:
> Seems it can be hacked around: https://stackoverflow.com/a/13497879
> But yikes, that's ugly.

I bet it's not very portable either. I'm not sure that all compilers
will think that HANDLEARGS should be expanded in that situation.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Ashwin Agrawal 2018-06-20 17:31:05 Re: Avoiding Tablespace path collision for primary and standby
Previous Message Tom Lane 2018-06-20 17:18:32 Re: line numbers in error messages are off wrt debuggers