0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

初めに

Qiita Engineer Festa 2024に参加中。完走目指してます。
他のメタコマンドについては以下から読んでください。

\conninfoとは

現在のデータベース接続に関する情報を出力します。

\conninfoについて

試してみた

postgres=# \conninfo
データベース"postgres"にユーザー"daichi"として、"/tmp"のソケットを介してポート"5432"で接続しています。

まとめ

作業ログを残すのに叩くのはありかも。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?