postgresql - psql binary file missing- is there any way of replacing it without unistall/reinstall of Postgres? -


i've had few issues trying upgrade postgresql-server. i've reverted older version (9.0.3) , service running , accessible via pgadmin/other gui tools. however, can't access via psql command (as user postgres). may possibly because psql binary seems missing. feel may have happened when uninstalled version of postgres had intended revert to. can't reinstall version 9.0.3 because repo no longer valid. there way can install psql binary file , nothing else. considering copying psql binary file server, although because other servers have different versions of postgresql, i'm not sure if idea (?)

i think psql binaries didn't disapear system.

it's had symbolic links /usr/bin 9.0.3 binaries.

when installed newer version, links replaced point new version , when uninstalled it, dropped.

try locate find binaries. able recreate symbolic links in /usr/bin.


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -