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

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

[Octave-bug-tracker] [bug #62708] [octave forge] (database) pq_exec_para


From: anonymous
Subject: [Octave-bug-tracker] [bug #62708] [octave forge] (database) pq_exec_params does not call print_usage() correctly
Date: Tue, 5 Jul 2022 09:59:49 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?62708>

                 Summary: [octave forge] (database) pq_exec_params does not
call print_usage() correctly
                 Project: GNU Octave
               Submitter: None
               Submitted: Tue 05 Jul 2022 01:59:47 PM UTC
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error or Warning
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: jasmin.zimmer@batop.de
             Open/Closed: Open
                 Release: 6.3.0
         Discussion Lock: Any
        Operating System: Any


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Tue 05 Jul 2022 01:59:47 PM UTC By: Anonymous
Hi, 

when checking the input arguments, pq_exec_params() internally seems to call
print_usage() - however, if the first argument is not a conn-object, it
produces the following errors 


pq_exec_params({})
error: Invalid call to buffer.  Correct usage is:

 -- Function File: Y = buffer (X, N, P, OPT)
 -- Function File: [Y, Z, OPT] = buffer (...)
error: called from
    print_usage at line 98 column 5
    buffer at line 61 column 5
    print_usage>get_usage_texinfo at line 138 column 20
    print_usage at line 68 column 30
    pq_exec_params at line 132 column 11
>> pq_exec_params({},'')
error: Invalid call to buffer.  Correct usage is:

 -- Function File: Y = buffer (X, N, P, OPT)
 -- Function File: [Y, Z, OPT] = buffer (...)
error: called from
    print_usage at line 98 column 5
    buffer at line 61 column 5
    print_usage>get_usage_texinfo at line 138 column 20
    print_usage at line 68 column 30
    pq_exec_params at line 132 column 11
>> pq_exec_params({},'',{})
error: Invalid call to buffer.  Correct usage is:

 -- Function File: Y = buffer (X, N, P, OPT)
 -- Function File: [Y, Z, OPT] = buffer (...)
error: called from
    print_usage at line 98 column 5
    buffer at line 61 column 5
    print_usage>get_usage_texinfo at line 138 column 20
    print_usage at line 68 column 30
    pq_exec_params at line 132 column 11

... and so on.

The database package I'm currently using is 2.4.4.







    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?62708>

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




reply via email to

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