[
https://issues.apache.org/jira/browse/MADLIB-1053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15819821#comment-15819821
]
Nikolay S commented on MADLIB-1053:
-----------------------------------
Yes, I successfully installed it and using now.
Double-checked it now, the same.
PostgreSQL version is 9.6.1.
The thing is that each time psql starts, it says "Timing is on." first.
Your code tries to use the first row to fetch version number:
```
versionStr = _internal_run_query("""SELECT pg_catalog.version()""",
True)
```
-- so in this case it's not the row that we need.
Do you see "Timing is on." when you edited your .psqlrc and start psql session?
And does timing options is actually on in your case?
> Cannot install having "\timing on" in .psqlrc
> ---------------------------------------------
>
> Key: MADLIB-1053
> URL: https://issues.apache.org/jira/browse/MADLIB-1053
> Project: Apache MADlib
> Issue Type: Bug
> Components: Madpack
> Reporter: Nikolay S
> Fix For: v1.10
>
>
> Actually subject speaks for itself: if you place smth like "\timing on" to
> .psqlrc (for convenience working with psql; smth that generates additional
> output at psql's startup time), you cannot install MADlib to some Postgres DB
> -- it reports:
> ```
> madpack.py : ERROR : Failed reading database version
> ```
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)