Re: BUG #8702: psql \df+ translate_columns[] overflow and unexpected gettext translation

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>, eshkinkot(at)gmail(dot)com, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #8702: psql \df+ translate_columns[] overflow and unexpected gettext translation
Date: 2014-01-04 21:07:39
Message-ID: 6672.1388869659@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:
> Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
>> Obviously, this is not a very robust programming interface, if the same
>> mistake has been repeated three times independently.

> Yeah :-(. How about adding an Assert as in the attached?

I cleaned up the issues in \dy and committed this.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Ódor Balázs Péter 2014-01-05 13:59:37 Re: BUG #8698: cast and view
Previous Message David Johnston 2014-01-04 04:31:13 Re: BUG #8721: pg_wrapper unaware of configuration includes