Re: Sloppy SSPI error reporting code

Поиск
Список
Период
Сортировка
От Noah Misch
Тема Re: Sloppy SSPI error reporting code
Дата
Msg-id 20150404003208.GB1147382@tornado.leadboat.com
обсуждение исходный текст
Ответ на Re: Sloppy SSPI error reporting code  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: Sloppy SSPI error reporting code  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
On Thu, Apr 02, 2015 at 07:31:52AM -0400, Bruce Momjian wrote:
> On Thu, Apr  2, 2015 at 01:44:59AM -0400, Noah Misch wrote:
> > On Wed, Apr 01, 2015 at 10:49:01PM -0400, Bruce Momjian wrote:
> > > On Sat, Jan 10, 2015 at 02:53:13PM -0500, Tom Lane wrote:
> > > > While looking at fe-auth.c I noticed quite a few places that weren't
> > > > bothering to make error messages localizable (ie, missing libpq_gettext
> > > > calls), and/or were failing to add a trailing newline as expected in
> > > > libpq error messages.  Perhaps these are intentional but I doubt it.
> > > > Most of the instances seemed to be SSPI-related.
> > > > 
> > > > I have no intention of fixing these myself, but whoever committed that
> > > > code should take a second look.
> > > 
> > > I looked through that file and only found two cases;  patch attached.
> > 
> > Tom mentioned newline omissions, which you'll find in pg_SSPI_error().
> 
> Oh, I accidentally saw the backend version of that function, which
> looked fine.  I have attached a patch for that.

That patch looks reasonable.



В списке pgsql-hackers по дате отправления:

Предыдущее
От: John Gorman
Дата:
Сообщение: Re: Compile warnings on OSX 10.10 clang 6.0
Следующее
От: Qingqing Zhou
Дата:
Сообщение: COALESCE() query yield different result with MJ vs. NLJ/HJ