This is not quite sufficient, I'm afraid. You cannot assume that there is only one 8.2 cluster, and that it is called 'main'. That is the default after a clean installation, but people are free to create arbitrarily many clusters.
So you should iterate over "pg_lsclusters -h" to find out valid cluster versions and names, and do the R_HOME thing for all of them. -- R_HOME environmental variable not set https://bugs.launchpad.net/bugs/130059 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
