PostgreSQL: Which version of PostgreSQL am I running?

后端 未结 16 893
迷失自我
迷失自我 2020-12-02 03:22

I\'m in a corporate environment (running Debian Linux) and didn\'t install it myself. I access the databases using Navicat or phpPgAdmin (if that helps). I also don\'t have

16条回答
  •  南笙
    南笙 (楼主)
    2020-12-02 03:59

    The pg_config command will report the directory where the PostgreSQL programs are installed (--bindir), the location of C include files (--includedir) and object code libraries (--libdir), and the version of PostgreSQL (--version):

    $ pg_config --version
    PostgreSQL 9.3.6
    

提交回复
热议问题