Answers for "postgres command line"

2

open postgres in terminal

sudo -i -u postgres psql
Posted by: Guest on June-10-2021
1

how to access postgres CLI

# User postgres is default. It then may ask you for password. 
psql -U postgres
Posted by: Guest on January-21-2021
1

access the postgres psql

psql -h localhost -U username databasename
Posted by: Guest on August-05-2020

Code answers related to "postgres command line"

Browse Popular Code Answers by Language