PostgreSQL

PostgreSQL guide Connection Commands psql Definition: The PostgreSQL interactive terminal for connecting to a PostgreSQL database. Usage: 1 psql -h hostname -p port -U username -d database \connect (or \c) Definition: Connects to a new database and/or under a different user. Usage: 1 \\c database_name [username] \password Definition: Changes the password for the currently connected user. Usage: 1 \\password [username] \conninfo Definition: Displays information about the current database connection. ...

July 22, 2025 · 2 min · 341 words · Aum Pauskar