octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #54031] [octave forge] (database) Unit test in


From: Olaf Till
Subject: [Octave-bug-tracker] [bug #54031] [octave forge] (database) Unit test in pq_connect.m segfaults for local database
Date: Thu, 28 Jun 2018 10:51:36 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #3, bug #54031 (project octave):

The segfault has been turned into an error by this changeset:

https://sourceforge.net/p/octave/database/ci/3d2a333bc3350d5ba528b6f41fab4aaefed7172f/

, but the problem in making it work is that for reliably reading the base
types, the OID of "server user" is needed. This OID is read by the package by
trusting that this user is named "postgres", while with the current
configuration it is the name of the user who runs the test. Maybe it's
necessary to deduce the correct name from servers system tables somehow. OTOH,
maybe the OID is always 10. Does someone of you know if I can rely on it being
10?

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?54031>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]