theory/pgenv

How do I work with the compiled code?

ichux opened this issue · 2 comments

ichux commented

I was able to build for PostgreSQL 10.4 with the following command below:

sudo apt install -y libreadline-dev libperl-dev libz-dev
pgenv build 10.4

OS:

Ubuntu 18.04.1 LTS (GNU/Linux 4.15.0-33-generic x86_64)

screen shot 2018-09-08 at 19 50 45

Everything is fine. But then, the problem is how to use it

screen shot 2018-09-08 at 19 54 54

The default build does not require a system account. Try omitting sudo:

pssql -U postgres
ichux commented

Hello, so, what worked for me was:

psql -U postgres

@theory thanks for your help and this utility. It will come in handy using a docker.
There's a typo in the pssql -U postgres that you wrote!