[postgres@myserver.mydomain.com ~]$ psql psql (11.2) Type "help" for help. postgres=# \connect musicdb You are now connected to database "musicdb" as user "postgres". musicdb=# \conninfo You are connected to database "musicdb" as user "postgres" via socket in "/var/run/postgresql" at port "5432".
Minimalistic Oracle contains a collection of practical examples from my encounters with Oracle technologies. When relevant, I also write about other technologies, like Linux or PostgreSQL. Many of the posts starts with "how to" since they derive directly from my own personal experience. My goal is to provide simple examples, so that they can be easily adapted to other situations.
Thursday, March 14, 2019
How to show current connect info in PosgreSQL
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment