Customer Portal

DBInputTable, Postgres and functions.

Comments 4

  • Avatar
    avackova
    0
    Comment actions Permalink
    Hello Chris,
    I can't reproduce the problem. select from function is properly executed, as well as executing the function, that returns a result set (see ExtExamples/graph/graphDBExecutePostgre.grf from our examples).
    Does the problem occur when trying to read data from the table also?
  • Avatar
    julrych
    0
    Comment actions Permalink
    Hi Chris,
    An issue may occur if myFunc() attempts to write/update a table because the select statement set the transaction as read-only. What does your myFunc() actually do?
  • Avatar
    starsailor
    0
    Comment actions Permalink
    Was this issue ever resolved?

    I'm asking now because I have the same problem now with DBInputTable when trying to select from certain OOB Vertica 6.1 functions like:

    select analyze_statistics('sometable');

    where DBInput table errors because the connnection is set to read-only mode and I can't get DBExecute to process it because the statement has a result set that causes DBExecute to error too.
  • Avatar
    admin
    0
    Comment actions Permalink
    Hi,

    This issue seems to be related to Vertica JDBC specific, please see viewtopic.php?f=4&t=6781#p10822 for details.

Please sign in to leave a comment.