Re: BUG #15511: Drop table error "invalid argument"

Alvaro Herrera <alvherre@2ndquadrant.com>

From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: ertugrul9090@gmail.com, Peter Eisentraut <peter.eisentraut@2ndquadrant.com>, pgsql-bugs@lists.postgresql.org
Date: 2018-12-06T19:24:22Z
Lists: pgsql-bugs
On 2018-Nov-17, Tom Lane wrote:

> I poked at that to the extent of testing every string in 11.1's tr.po
> against our implementation of snprintf, and what I find is this:
> 
> #. translator: second %s is, e.g., "table %s"
> #: catalog/objectaddress.c:2694
> #, c-format
> msgid "column %s of %s"
> msgstr "%2$s'nin %1$ sütunu"

I fixed this string in tr.po.  At least it'll be correct in 11.2.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


Commits

  1. Improve our response to invalid format strings, and detect more cases.