ZhangZhihui's Blog  

1️⃣ Install PostgreSQL

sudo apt update
sudo apt install postgresql postgresql-contrib

✅ This installs both the server and the psql CLI tool.

zzh@ZZHPC:~$ sudo apt install postgresql postgresql-contrib
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libcommon-sense-perl libjson-perl libjson-xs-perl libllvm14 libpq5 libtypes-serialiser-perl postgresql-14 postgresql-client-14 postgresql-client-common
  postgresql-common sysstat
Suggested packages:
  postgresql-doc postgresql-doc-14 isag
The following NEW packages will be installed:
  libcommon-sense-perl libjson-perl libjson-xs-perl libllvm14 libpq5 libtypes-serialiser-perl postgresql postgresql-14 postgresql-client-14
  postgresql-client-common postgresql-common postgresql-contrib sysstat
0 upgraded, 13 newly installed, 0 to remove and 0 not upgraded.
Need to get 42.5 MB of archives.
After this operation, 162 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libcommon-sense-perl amd64 3.75-2build1 [21.1 kB]
Get:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libjson-perl all 4.04000-1 [81.8 kB]                  
Get:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libtypes-serialiser-perl all 1.01-1 [11.6 kB]
Get:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libjson-xs-perl amd64 4.030-1build3 [87.2 kB]
Get:5 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 postgresql-client-common all 238 [29.6 kB]
Get:6 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 postgresql-common all 238 [169 kB]
Get:7 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 postgresql all 14+238 [3,288 B]
Get:8 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 postgresql-contrib all 14+238 [3,292 B]
Get:9 http://security.ubuntu.com/ubuntu jammy-security/main amd64 libllvm14 amd64 1:14.0.0-1ubuntu1.1 [24.0 MB]
Get:10 http://security.ubuntu.com/ubuntu jammy-security/main amd64 libpq5 amd64 14.17-0ubuntu0.22.04.1 [152 kB]                                                     
Get:11 http://security.ubuntu.com/ubuntu jammy-security/main amd64 postgresql-client-14 amd64 14.17-0ubuntu0.22.04.1 [1,246 kB]                                     
Get:12 http://security.ubuntu.com/ubuntu jammy-security/main amd64 postgresql-14 amd64 14.17-0ubuntu0.22.04.1 [16.2 MB]                                             
Get:13 http://security.ubuntu.com/ubuntu jammy-security/main amd64 sysstat amd64 12.5.2-2ubuntu0.2 [487 kB]                                                         
Fetched 42.5 MB in 14s (3,062 kB/s)                                                                                                                                 
Preconfiguring packages ...
Selecting previously unselected package libcommon-sense-perl:amd64.
(Reading database ... 300835 files and directories currently installed.)
Preparing to unpack .../00-libcommon-sense-perl_3.75-2build1_amd64.deb ...
Unpacking libcommon-sense-perl:amd64 (3.75-2build1) ...
Selecting previously unselected package libjson-perl.
Preparing to unpack .../01-libjson-perl_4.04000-1_all.deb ...
Unpacking libjson-perl (4.04000-1) ...
Selecting previously unselected package libtypes-serialiser-perl.
Preparing to unpack .../02-libtypes-serialiser-perl_1.01-1_all.deb ...
Unpacking libtypes-serialiser-perl (1.01-1) ...
Selecting previously unselected package libjson-xs-perl.
Preparing to unpack .../03-libjson-xs-perl_4.030-1build3_amd64.deb ...
Unpacking libjson-xs-perl (4.030-1build3) ...
Selecting previously unselected package libllvm14:amd64.
Preparing to unpack .../04-libllvm14_1%3a14.0.0-1ubuntu1.1_amd64.deb ...
Unpacking libllvm14:amd64 (1:14.0.0-1ubuntu1.1) ...
Selecting previously unselected package libpq5:amd64.
Preparing to unpack .../05-libpq5_14.17-0ubuntu0.22.04.1_amd64.deb ...
Unpacking libpq5:amd64 (14.17-0ubuntu0.22.04.1) ...
Selecting previously unselected package postgresql-client-common.
Preparing to unpack .../06-postgresql-client-common_238_all.deb ...
Unpacking postgresql-client-common (238) ...
Selecting previously unselected package postgresql-client-14.
Preparing to unpack .../07-postgresql-client-14_14.17-0ubuntu0.22.04.1_amd64.deb ...
Unpacking postgresql-client-14 (14.17-0ubuntu0.22.04.1) ...
Selecting previously unselected package postgresql-common.
Preparing to unpack .../08-postgresql-common_238_all.deb ...
Adding 'diversion of /usr/bin/pg_config to /usr/bin/pg_config.libpq-dev by postgresql-common'
Unpacking postgresql-common (238) ...
Selecting previously unselected package postgresql-14.
Preparing to unpack .../09-postgresql-14_14.17-0ubuntu0.22.04.1_amd64.deb ...
Unpacking postgresql-14 (14.17-0ubuntu0.22.04.1) ...
Selecting previously unselected package postgresql.
Preparing to unpack .../10-postgresql_14+238_all.deb ...
Unpacking postgresql (14+238) ...
Selecting previously unselected package postgresql-contrib.
Preparing to unpack .../11-postgresql-contrib_14+238_all.deb ...
Unpacking postgresql-contrib (14+238) ...
Selecting previously unselected package sysstat.
Preparing to unpack .../12-sysstat_12.5.2-2ubuntu0.2_amd64.deb ...
Unpacking sysstat (12.5.2-2ubuntu0.2) ...
Setting up postgresql-client-common (238) ...
Setting up libpq5:amd64 (14.17-0ubuntu0.22.04.1) ...
Setting up libcommon-sense-perl:amd64 (3.75-2build1) ...
Setting up postgresql-client-14 (14.17-0ubuntu0.22.04.1) ...
update-alternatives: using /usr/share/postgresql/14/man/man1/psql.1.gz to provide /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode
Setting up libllvm14:amd64 (1:14.0.0-1ubuntu1.1) ...
Setting up libtypes-serialiser-perl (1.01-1) ...
Setting up libjson-perl (4.04000-1) ...
Setting up sysstat (12.5.2-2ubuntu0.2) ...

Creating config file /etc/default/sysstat with new version
update-alternatives: using /usr/bin/sar.sysstat to provide /usr/bin/sar (sar) in auto mode
Created symlink /etc/systemd/system/sysstat.service.wants/sysstat-collect.timer → /lib/systemd/system/sysstat-collect.timer.
Created symlink /etc/systemd/system/sysstat.service.wants/sysstat-summary.timer → /lib/systemd/system/sysstat-summary.timer.
Created symlink /etc/systemd/system/multi-user.target.wants/sysstat.service → /lib/systemd/system/sysstat.service.
Setting up libjson-xs-perl (4.030-1build3) ...
Setting up postgresql-common (238) ...
Adding user postgres to group ssl-cert

Creating config file /etc/postgresql-common/createcluster.conf with new version
Building PostgreSQL dictionaries from installed myspell/hunspell packages...
  en_au
  en_ca
  en_gb
  en_us
  en_za
Removing obsolete dictionary files:
Created symlink /etc/systemd/system/multi-user.target.wants/postgresql.service → /lib/systemd/system/postgresql.service.
Setting up postgresql-14 (14.17-0ubuntu0.22.04.1) ...
Creating new PostgreSQL cluster 14/main ...
/usr/lib/postgresql/14/bin/initdb -D /var/lib/postgresql/14/main --auth-local peer --auth-host scram-sha-256 --no-instructions
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.

The database cluster will be initialized with locales
  COLLATE:  en_US.UTF-8
  CTYPE:    en_US.UTF-8
  MESSAGES: en_US.UTF-8
  MONETARY: zh_CN.UTF-8
  NUMERIC:  zh_CN.UTF-8
  TIME:     zh_CN.UTF-8
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".

Data page checksums are disabled.

fixing permissions on existing directory /var/lib/postgresql/14/main ... ok
creating subdirectories ... ok
selecting dynamic shared memory implementation ... posix
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting default time zone ... Asia/Shanghai
creating configuration files ... ok
running bootstrap script ... ok
performing post-bootstrap initialization ... ok
syncing data to disk ... ok
update-alternatives: using /usr/share/postgresql/14/man/man1/postmaster.1.gz to provide /usr/share/man/man1/postmaster.1.gz (postmaster.1.gz) in auto mode
Setting up postgresql-contrib (14+238) ...
Setting up postgresql (14+238) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.9) ...

 

zzh@ZZHPC:~$ sudo systemctl status postgresql
● postgresql.service - PostgreSQL RDBMS
     Loaded: loaded (/lib/systemd/system/postgresql.service; enabled; vendor preset: enabled)
     Active: active (exited) since Mon 2025-04-21 09:11:22 CST; 12min ago
    Process: 12488 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
   Main PID: 12488 (code=exited, status=0/SUCCESS)
        CPU: 1ms

4月 21 09:11:22 ZZHPC systemd[1]: Starting PostgreSQL RDBMS...
4月 21 09:11:22 ZZHPC systemd[1]: Finished PostgreSQL RDBMS.

 

Switch to the postgres user

PostgreSQL creates a special system user named postgres.

zzh@ZZHPC:~$ sudo -i -u postgres
postgres@ZZHPC:~$ psql
psql (14.17 (Ubuntu 14.17-0ubuntu0.22.04.1))
Type "help" for help.

postgres=# CREATE DATABASE zzhdb;
CREATE DATABASE
postgres=# \c zzhdb
You are now connected to database "zzhdb" as user "postgres".
zzhdb=# CREATE USER zzh WITH PASSWORD 'zzh';
CREATE ROLE
zzhdb=# GRANT ALL PRIVILEGES ON DATABASE zzhdb to zzh;
GRANT
zzhdb=# \q
postgres@ZZHPC:~$ exit
logout

 

2️⃣ Install pgAdmin (Web UI)

pgAdmin is not in the default apt repositories, so we’ll add the official repository.

Add pgAdmin Repository:

curl https://www.pgadmin.org/static/packages_pgadmin_org.pub | sudo apt-key add -
sudo sh -c 'echo "deb https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/$(lsb_release -cs) pgadmin4 main" > /etc/apt/sources.list.d/pgadmin4.list && apt update'

Install pgAdmin:

For desktop mode (with system tray icon):

sudo apt install pgadmin4-desktop

 

zzh@ZZHPC:~$ sudo apt install pgadmin4-desktop
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  pgadmin4-server
The following NEW packages will be installed:
  pgadmin4-desktop pgadmin4-server
0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
Need to get 209 MB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/jammy pgadmin4/main amd64 pgadmin4-server amd64 9.2 [123 MB]
Get:2 https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/jammy pgadmin4/main amd64 pgadmin4-desktop amd64 9.2 [86.1 MB]                                            
Fetched 209 MB in 1min 3s (3,329 kB/s)                                                                                                                              
Selecting previously unselected package pgadmin4-server.
(Reading database ... 302776 files and directories currently installed.)
Preparing to unpack .../pgadmin4-server_9.2_amd64.deb ...
Unpacking pgadmin4-server (9.2) ...
Selecting previously unselected package pgadmin4-desktop.
Preparing to unpack .../pgadmin4-desktop_9.2_amd64.deb ...
Unpacking pgadmin4-desktop (9.2) ...
Setting up pgadmin4-server (9.2) ...
Setting up pgadmin4-desktop (9.2) ...
Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu3) ...
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...

For web mode (access via browser):

sudo apt install pgadmin4-web
sudo /usr/pgadmin4/bin/setup-web.sh

 

🔐 Accessing pgAdmin

    • After setup, open your browser and go to:
      👉 http://localhost/pgadmin4 or http://127.0.0.1/pgadmin4

    • You’ll be prompted to set up an admin email/password the first time.

 

 

 

🔧 What is "Maintenance database"?

This is the initial database that pgAdmin connects to when logging into the PostgreSQL server. It’s used to:

  • Establish the initial session

  • Run background tasks like listing databases, checking roles, etc.

📌 Default value: postgres

  • PostgreSQL creates a default database named postgres, which is always accessible and typically used for administrative purposes.

  • That’s why pgAdmin uses it by default as the "maintenance database."


🧠 Should I change it?

You can, but usually don’t need to — unless:

  1. You’ve deleted the postgres database (not recommended).

  2. You want pgAdmin to connect directly to your custom database (e.g., zzhdb) instead of postgres.

 

By default, the postgres user in PostgreSQL does not have a password set, especially when installed via package managers like apt on Ubuntu.


🔐 So how do you access it?

On Ubuntu, you're expected to access the postgres user like this:

sudo -i -u postgres psql

This works because of peer authentication, where PostgreSQL trusts users if their Linux username matches their PostgreSQL username.


❗️If you want to connect via pgAdmin or any other client:

You need to set a password for the postgres user, because clients require password authentication.

✅ Set a password for postgres:

sudo -u postgres psql ALTER USER postgres WITH PASSWORD 'your_secure_password'; \q

Now you can use:

  • Username: postgres

  • Password: whatever you just set

  • Maintenance DB: postgres (default)

 

 

 

 

 

🧨 Why this happens:

The SHOW data_directory; command tries to access a backend server configuration setting, which is considered sensitive.

By default, only:

  • Superusers

  • Members of the role pg_read_all_settings

...can view it.


✅ Solution 1: Make zzh a Superuser (⚠️ Use with care)

ALTER USER zzh WITH SUPERUSER;

🚨 Caution: Superusers can do anything in the database — great for development, risky for production.


✅ Solution 2: Grant pg_read_all_settings role (recommended for read-only access)

This lets the user view config settings without full superuser powers:

GRANT pg_read_all_settings TO zzh;

Then try:

SHOW data_directory;

🎯 This is the safer approach and is perfect for users who just need to inspect config.


✅ Bonus: Run as superuser temporarily

You can also just run the query as the postgres user, if you don't want to change roles:

sudo -u postgres psql SHOW data_directory;

 

zzh@ZZHPC:~$ sudo -i -u postgres
postgres@ZZHPC:~$ psql
psql (14.17 (Ubuntu 14.17-0ubuntu0.22.04.1))
Type "help" for help.

postgres=# GRANT pg_read_all_settings TO zzh;
GRANT ROLE
postgres=# \q
postgres@ZZHPC:~$ exit
logout

zzh@ZZHPC:~$ psql -U zzh -d zzhdb
psql (14.17 (Ubuntu 14.17-0ubuntu0.22.04.1))
Type "help" for help.

zzhdb=> SHOW data_directory;
       data_directory        
-----------------------------
 /var/lib/postgresql/14/main
(1 row)

zzhdb=>

 

zzhdb=> \d pg_database;
               Table "pg_catalog.pg_database"
    Column     |   Type    | Collation | Nullable | Default 
---------------+-----------+-----------+----------+---------
 oid           | oid       |           | not null | 
 datname       | name      |           | not null | 
 datdba        | oid       |           | not null | 
 encoding      | integer   |           | not null | 
 datcollate    | name      |           | not null | 
 datctype      | name      |           | not null | 
 datistemplate | boolean   |           | not null | 
 datallowconn  | boolean   |           | not null | 
 datconnlimit  | integer   |           | not null | 
 datlastsysoid | oid       |           | not null | 
 datfrozenxid  | xid       |           | not null | 
 datminmxid    | xid       |           | not null | 
 dattablespace | oid       |           | not null | 
 datacl        | aclitem[] |           |          | 
Indexes:
    "pg_database_oid_index" PRIMARY KEY, btree (oid), tablespace "pg_global"
    "pg_database_datname_index" UNIQUE CONSTRAINT, btree (datname), tablespace "pg_global"
Tablespace: "pg_global"

zzhdb=> SELECT oid, datname FROM pg_database;
  oid  |  datname  
-------+-----------
 13799 | postgres
     1 | template1
 13798 | template0
 16384 | zzhdb
(4 rows)

 

postgres@ZZHPC:~$ cd /var/lib/postgresql/14/main
postgres@ZZHPC:~/14/main$ ls -l
total 84
drwx------ 6 postgres postgres 4096 Apr 21 09:27 base
drwx------ 2 postgres postgres 4096 Apr 21 09:26 global
drwx------ 2 postgres postgres 4096 Apr 21 09:11 pg_commit_ts
drwx------ 2 postgres postgres 4096 Apr 21 09:11 pg_dynshmem
drwx------ 4 postgres postgres 4096 Apr 21 11:22 pg_logical
drwx------ 4 postgres postgres 4096 Apr 21 09:11 pg_multixact
drwx------ 2 postgres postgres 4096 Apr 21 09:11 pg_notify
drwx------ 2 postgres postgres 4096 Apr 21 09:11 pg_replslot
drwx------ 2 postgres postgres 4096 Apr 21 09:11 pg_serial
drwx------ 2 postgres postgres 4096 Apr 21 09:11 pg_snapshots
drwx------ 2 postgres postgres 4096 Apr 21 09:11 pg_stat
drwx------ 2 postgres postgres 4096 Apr 21 09:11 pg_stat_tmp
drwx------ 2 postgres postgres 4096 Apr 21 09:11 pg_subtrans
drwx------ 2 postgres postgres 4096 Apr 21 09:11 pg_tblspc
drwx------ 2 postgres postgres 4096 Apr 21 09:11 pg_twophase
-rw------- 1 postgres postgres    3 Apr 21 09:11 PG_VERSION
drwx------ 3 postgres postgres 4096 Apr 21 09:11 pg_wal
drwx------ 2 postgres postgres 4096 Apr 21 09:11 pg_xact
-rw------- 1 postgres postgres   88 Apr 21 09:11 postgresql.auto.conf
-rw------- 1 postgres postgres  130 Apr 21 09:11 postmaster.opts
-rw------- 1 postgres postgres  109 Apr 21 09:11 postmaster.pid
postgres@ZZHPC:~/14/main$ cd base
postgres@ZZHPC:~/14/main/base$ ls -l
total 16
drwx------ 2 postgres postgres 4096 Apr 21 09:11 1
drwx------ 2 postgres postgres 4096 Apr 21 09:11 13798
drwx------ 2 postgres postgres 4096 Apr 21 09:26 13799
drwx------ 2 postgres postgres 4096 Apr 21 09:27 16384

 

zzhdb=> \d pg_class;
                     Table "pg_catalog.pg_class"
       Column        |     Type     | Collation | Nullable | Default 
---------------------+--------------+-----------+----------+---------
 oid                 | oid          |           | not null | 
 relname             | name         |           | not null | 
 relnamespace        | oid          |           | not null | 
 reltype             | oid          |           | not null | 
 reloftype           | oid          |           | not null | 
 relowner            | oid          |           | not null | 
 relam               | oid          |           | not null | 
 relfilenode         | oid          |           | not null | 
 reltablespace       | oid          |           | not null | 
 relpages            | integer      |           | not null | 
 reltuples           | real         |           | not null | 
 relallvisible       | integer      |           | not null | 
 reltoastrelid       | oid          |           | not null | 
 relhasindex         | boolean      |           | not null | 
 relisshared         | boolean      |           | not null | 
 relpersistence      | "char"       |           | not null | 
 relkind             | "char"       |           | not null | 
 relnatts            | smallint     |           | not null | 
 relchecks           | smallint     |           | not null | 
 relhasrules         | boolean      |           | not null | 
 relhastriggers      | boolean      |           | not null | 
 relhassubclass      | boolean      |           | not null | 
 relrowsecurity      | boolean      |           | not null | 
 relforcerowsecurity | boolean      |           | not null | 
 relispopulated      | boolean      |           | not null | 
 relreplident        | "char"       |           | not null | 
 relispartition      | boolean      |           | not null | 
 relrewrite          | oid          |           | not null | 
 relfrozenxid        | xid          |           | not null | 
 relminmxid          | xid          |           | not null | 
 relacl              | aclitem[]    |           |          | 
 reloptions          | text[]       | C         |          | 
 relpartbound        | pg_node_tree | C         |          | 
Indexes:
    "pg_class_oid_index" PRIMARY KEY, btree (oid)
    "pg_class_relname_nsp_index" UNIQUE CONSTRAINT, btree (relname, relnamespace)
    "pg_class_tblspc_relfilenode_index" btree (reltablespace, relfilenode)

 

postgres@ZZHPC:~/14/main/base/16384$ ls -l
total 8588
-rw------- 1 postgres postgres   8192 Apr 21 09:27 112
-rw------- 1 postgres postgres   8192 Apr 21 09:27 113
-rw------- 1 postgres postgres 114688 Apr 21 09:27 1247
-rw------- 1 postgres postgres  24576 Apr 21 09:27 1247_fsm
-rw------- 1 postgres postgres   8192 Apr 21 09:27 1247_vm
-rw------- 1 postgres postgres 450560 Apr 21 09:27 1249
-rw------- 1 postgres postgres  24576 Apr 21 09:27 1249_fsm
-rw------- 1 postgres postgres   8192 Apr 21 09:27 1249_vm
-rw------- 1 postgres postgres 770048 Apr 21 09:27 1255
-rw------- 1 postgres postgres  24576 Apr 21 09:27 1255_fsm
-rw------- 1 postgres postgres   8192 Apr 21 09:27 1255_vm
-rw------- 1 postgres postgres 106496 Apr 21 09:27 1259
-rw------- 1 postgres postgres  24576 Apr 21 09:27 1259_fsm
-rw------- 1 postgres postgres   8192 Apr 21 09:27 1259_vm
-rw------- 1 postgres postgres  65536 Apr 21 09:27 13617
-rw------- 1 postgres postgres  24576 Apr 21 09:27 13617_fsm
-rw------- 1 postgres postgres   8192 Apr 21 09:27 13617_vm
-rw------- 1 postgres postgres      0 Apr 21 09:27 13620
-rw------- 1 postgres postgres   8192 Apr 21 09:27 13621
-rw------- 1 postgres postgres   8192 Apr 21 09:27 13622
-rw------- 1 postgres postgres  24576 Apr 21 09:27 13622_fsm
-rw------- 1 postgres postgres   8192 Apr 21 09:27 13622_vm
-rw------- 1 postgres postgres      0 Apr 21 09:27 13625
-rw------- 1 postgres postgres   8192 Apr 21 09:27 13626
-rw------- 1 postgres postgres   8192 Apr 21 09:27 13627
-rw------- 1 postgres postgres  24576 Apr 21 09:27 13627_fsm
-rw------- 1 postgres postgres   8192 Apr 21 09:27 13627_vm
-rw------- 1 postgres postgres      0 Apr 21 09:27 13630
-rw------- 1 postgres postgres   8192 Apr 21 09:27 13631
-rw------- 1 postgres postgres   8192 Apr 21 09:27 13632
-rw------- 1 postgres postgres  24576 Apr 21 09:27 13632_fsm
-rw------- 1 postgres postgres   8192 Apr 21 09:27 13632_vm
-rw------- 1 postgres postgres      0 Apr 21 09:27 13635
-rw------- 1 postgres postgres   8192 Apr 21 09:27 13636
-rw------- 1 postgres postgres      0 Apr 21 09:27 1417
-rw------- 1 postgres postgres      0 Apr 21 09:27 1418
-rw------- 1 postgres postgres   8192 Apr 21 09:27 174
-rw------- 1 postgres postgres   8192 Apr 21 09:27 175
-rw------- 1 postgres postgres   8192 Apr 21 09:27 2187
-rw------- 1 postgres postgres      0 Apr 21 09:27 2224
-rw------- 1 postgres postgres  16384 Apr 21 09:27 2228
-rw------- 1 postgres postgres      0 Apr 21 09:27 2328
-rw------- 1 postgres postgres      0 Apr 21 09:27 2336
-rw------- 1 postgres postgres   8192 Apr 21 09:27 2337
-rw------- 1 postgres postgres  16384 Apr 21 09:27 2579
-rw------- 1 postgres postgres  16384 Apr 21 09:27 2600
-rw------- 1 postgres postgres  24576 Apr 21 09:27 2600_fsm
-rw------- 1 postgres postgres   8192 Apr 21 09:27 2600_vm
-rw------- 1 postgres postgres   8192 Apr 21 09:27 2601
-rw------- 1 postgres postgres  24576 Apr 21 09:27 2601_fsm
-rw------- 1 postgres postgres   8192 Apr 21 09:27 2601_vm
-rw------- 1 postgres postgres  57344 Apr 21 09:27 2602
-rw------- 1 postgres postgres  24576 Apr 21 09:27 2602_fsm
-rw------- 1 postgres postgres   8192 Apr 21 09:27 2602_vm
-rw------- 1 postgres postgres  40960 Apr 21 09:27 2603
-rw------- 1 postgres postgres  24576 Apr 21 09:27 2603_fsm
-rw------- 1 postgres postgres   8192 Apr 21 09:27 2603_vm
-rw------- 1 postgres postgres      0 Apr 21 09:27 2604
-rw------- 1 postgres postgres  16384 Apr 21 09:27 2605
-rw------- 1 postgres postgres  24576 Apr 21 09:27 2605_fsm
-rw------- 1 postgres postgres   8192 Apr 21 09:27 2605_vm
-rw------- 1 postgres postgres  24576 Apr 21 09:27 2606
-rw------- 1 postgres postgres  24576 Apr 21 09:27 2606_fsm
-rw------- 1 postgres postgres   8192 Apr 21 09:27 2606_vm
-rw------- 1 postgres postgres  16384 Apr 21 09:27 2607
-rw------- 1 postgres postgres  24576 Apr 21 09:27 2607_fsm
-rw------- 1 postgres postgres   8192 Apr 21 09:27 2607_vm
-rw------- 1 postgres postgres 532480 Apr 21 09:27 2608
-rw------- 1 postgres postgres  24576 Apr 21 09:27 2608_fsm
-rw------- 1 postgres postgres   8192 Apr 21 09:27 2608_vm
-rw------- 1 postgres postgres 360448 Apr 21 09:27 2609
-rw------- 1 postgres postgres  24576 Apr 21 09:27 2609_fsm
-rw------- 1 postgres postgres   8192 Apr 21 09:27 2609_vm
-rw------- 1 postgres postgres  32768 Apr 21 09:27 2610
-rw------- 1 postgres postgres  24576 Apr 21 09:27 2610_fsm
-rw------- 1 postgres postgres   8192 Apr 21 09:27 2610_vm
-rw------- 1 postgres postgres      0 Apr 21 09:27 2611
-rw------- 1 postgres postgres   8192 Apr 21 09:27 2612
-rw------- 1 postgres postgres  24576 Apr 21 09:27 2612_fsm
-rw------- 1 postgres postgres   8192 Apr 21 09:27 2612_vm
-rw------- 1 postgres postgres      0 Apr 21 09:27 2613
-rw------- 1 postgres postgres   8192 Apr 21 09:27 2615
-rw------- 1 postgres postgres  24576 Apr 21 09:27 2615_fsm
-rw------- 1 postgres postgres   8192 Apr 21 09:27 2615_vm
-rw------- 1 postgres postgres  24576 Apr 21 09:27 2616
-rw------- 1 postgres postgres  24576 Apr 21 09:27 2616_fsm
-rw------- 1 postgres postgres   8192 Apr 21 09:27 2616_vm
-rw------- 1 postgres postgres 114688 Apr 21 09:27 2617
-rw------- 1 postgres postgres  24576 Apr 21 09:27 2617_fsm
-rw------- 1 postgres postgres   8192 Apr 21 09:27 2617_vm
-rw------- 1 postgres postgres 106496 Apr 21 09:27 2618
-rw------- 1 postgres postgres  24576 Apr 21 09:27 2618_fsm
-rw------- 1 postgres postgres   8192 Apr 21 09:27 2618_vm
-rw------- 1 postgres postgres 155648 Apr 21 09:27 2619
-rw------- 1 postgres postgres  24576 Apr 21 09:27 2619_fsm
-rw------- 1 postgres postgres   8192 Apr 21 09:27 2619_vm
-rw------- 1 postgres postgres      0 Apr 21 09:27 2620
-rw------- 1 postgres postgres  16384 Apr 21 09:27 2650
-rw------- 1 postgres postgres  16384 Apr 21 09:27 2651
-rw------- 1 postgres postgres  16384 Apr 21 09:27 2652
-rw------- 1 postgres postgres  49152 Apr 21 09:27 2653
-rw------- 1 postgres postgres  49152 Apr 21 09:27 2654
-rw------- 1 postgres postgres  40960 Apr 21 09:27 2655
-rw------- 1 postgres postgres   8192 Apr 21 09:27 2656
-rw------- 1 postgres postgres   8192 Apr 21 09:27 2657
-rw------- 1 postgres postgres 122880 Apr 21 09:27 2658
-rw------- 1 postgres postgres  81920 Apr 21 09:27 2659
-rw------- 1 postgres postgres  16384 Apr 21 09:27 2660
-rw------- 1 postgres postgres  16384 Apr 21 09:27 2661
-rw------- 1 postgres postgres  32768 Apr 21 09:27 2662
-rw------- 1 postgres postgres  49152 Apr 21 09:27 2663
-rw------- 1 postgres postgres  16384 Apr 21 09:27 2664
-rw------- 1 postgres postgres  16384 Apr 21 09:27 2665
-rw------- 1 postgres postgres  16384 Apr 21 09:27 2666
-rw------- 1 postgres postgres  16384 Apr 21 09:27 2667
-rw------- 1 postgres postgres  16384 Apr 21 09:27 2668
-rw------- 1 postgres postgres  16384 Apr 21 09:27 2669
-rw------- 1 postgres postgres  16384 Apr 21 09:27 2670
-rw------- 1 postgres postgres 360448 Apr 21 09:27 2673
-rw------- 1 postgres postgres  24576 Apr 21 09:27 2673_fsm
-rw------- 1 postgres postgres 434176 Apr 21 09:27 2674
-rw------- 1 postgres postgres  24576 Apr 21 09:27 2674_fsm
-rw------- 1 postgres postgres 221184 Apr 21 09:27 2675
-rw------- 1 postgres postgres  16384 Apr 21 09:27 2678
-rw------- 1 postgres postgres  16384 Apr 21 09:27 2679
-rw------- 1 postgres postgres   8192 Apr 21 09:27 2680
-rw------- 1 postgres postgres  16384 Apr 21 09:27 2681
-rw------- 1 postgres postgres  16384 Apr 21 09:27 2682
-rw------- 1 postgres postgres   8192 Apr 21 09:27 2683
-rw------- 1 postgres postgres  16384 Apr 21 09:27 2684
-rw------- 1 postgres postgres  16384 Apr 21 09:27 2685
-rw------- 1 postgres postgres  16384 Apr 21 09:27 2686
-rw------- 1 postgres postgres  16384 Apr 21 09:27 2687
-rw------- 1 postgres postgres  40960 Apr 21 09:27 2688
-rw------- 1 postgres postgres  49152 Apr 21 09:27 2689
-rw------- 1 postgres postgres  90112 Apr 21 09:27 2690
-rw------- 1 postgres postgres 262144 Apr 21 09:27 2691
-rw------- 1 postgres postgres  16384 Apr 21 09:27 2692
-rw------- 1 postgres postgres  16384 Apr 21 09:27 2693
-rw------- 1 postgres postgres  16384 Apr 21 09:27 2696
-rw------- 1 postgres postgres   8192 Apr 21 09:27 2699
-rw------- 1 postgres postgres   8192 Apr 21 09:27 2701
-rw------- 1 postgres postgres   8192 Apr 21 09:27 2702
-rw------- 1 postgres postgres  32768 Apr 21 09:27 2703
-rw------- 1 postgres postgres  40960 Apr 21 09:27 2704
-rw------- 1 postgres postgres  16384 Apr 21 09:27 2753
-rw------- 1 postgres postgres  24576 Apr 21 09:27 2753_fsm
-rw------- 1 postgres postgres   8192 Apr 21 09:27 2753_vm
-rw------- 1 postgres postgres  16384 Apr 21 09:27 2754
-rw------- 1 postgres postgres  16384 Apr 21 09:27 2755
-rw------- 1 postgres postgres  40960 Apr 21 09:27 2756
-rw------- 1 postgres postgres  32768 Apr 21 09:27 2757
-rw------- 1 postgres postgres      0 Apr 21 09:27 2830
-rw------- 1 postgres postgres   8192 Apr 21 09:27 2831
-rw------- 1 postgres postgres      0 Apr 21 09:27 2832
-rw------- 1 postgres postgres   8192 Apr 21 09:27 2833
-rw------- 1 postgres postgres      0 Apr 21 09:27 2834
-rw------- 1 postgres postgres   8192 Apr 21 09:27 2835
-rw------- 1 postgres postgres   8192 Apr 21 09:27 2836
-rw------- 1 postgres postgres  24576 Apr 21 09:27 2836_fsm
-rw------- 1 postgres postgres   8192 Apr 21 09:27 2836_vm
-rw------- 1 postgres postgres  16384 Apr 21 09:27 2837
-rw------- 1 postgres postgres 516096 Apr 21 09:27 2838
-rw------- 1 postgres postgres  24576 Apr 21 09:27 2838_fsm
-rw------- 1 postgres postgres   8192 Apr 21 09:27 2838_vm
-rw------- 1 postgres postgres  16384 Apr 21 09:27 2839
-rw------- 1 postgres postgres  24576 Apr 21 09:27 2840
-rw------- 1 postgres postgres  24576 Apr 21 09:27 2840_fsm
-rw------- 1 postgres postgres   8192 Apr 21 09:27 2840_vm
-rw------- 1 postgres postgres  16384 Apr 21 09:27 2841
-rw------- 1 postgres postgres      0 Apr 21 09:27 2995
-rw------- 1 postgres postgres   8192 Apr 21 09:27 2996
-rw------- 1 postgres postgres   8192 Apr 21 09:27 3079
-rw------- 1 postgres postgres  24576 Apr 21 09:27 3079_fsm
-rw------- 1 postgres postgres   8192 Apr 21 09:27 3079_vm
-rw------- 1 postgres postgres  16384 Apr 21 09:27 3080
-rw------- 1 postgres postgres  16384 Apr 21 09:27 3081
-rw------- 1 postgres postgres  40960 Apr 21 09:27 3085
-rw------- 1 postgres postgres      0 Apr 21 09:27 3118
-rw------- 1 postgres postgres   8192 Apr 21 09:27 3119
-rw------- 1 postgres postgres  57344 Apr 21 09:27 3164
-rw------- 1 postgres postgres      0 Apr 21 09:27 3256
-rw------- 1 postgres postgres   8192 Apr 21 09:27 3257
-rw------- 1 postgres postgres   8192 Apr 21 09:27 3258
-rw------- 1 postgres postgres      0 Apr 21 09:27 3350
-rw------- 1 postgres postgres   8192 Apr 21 09:27 3351
-rw------- 1 postgres postgres   8192 Apr 21 09:27 3379
-rw------- 1 postgres postgres   8192 Apr 21 09:27 3380
-rw------- 1 postgres postgres      0 Apr 21 09:27 3381
-rw------- 1 postgres postgres  24576 Apr 21 09:27 3394
-rw------- 1 postgres postgres  24576 Apr 21 09:27 3394_fsm
-rw------- 1 postgres postgres   8192 Apr 21 09:27 3394_vm
-rw------- 1 postgres postgres  16384 Apr 21 09:27 3395
-rw------- 1 postgres postgres      0 Apr 21 09:27 3429
-rw------- 1 postgres postgres      0 Apr 21 09:27 3430
-rw------- 1 postgres postgres   8192 Apr 21 09:27 3431
-rw------- 1 postgres postgres   8192 Apr 21 09:27 3433
-rw------- 1 postgres postgres      0 Apr 21 09:27 3439
-rw------- 1 postgres postgres   8192 Apr 21 09:27 3440
-rw------- 1 postgres postgres  40960 Apr 21 09:27 3455
-rw------- 1 postgres postgres 212992 Apr 21 09:27 3456
-rw------- 1 postgres postgres  24576 Apr 21 09:27 3456_fsm
-rw------- 1 postgres postgres   8192 Apr 21 09:27 3456_vm
-rw------- 1 postgres postgres      0 Apr 21 09:27 3466
-rw------- 1 postgres postgres   8192 Apr 21 09:27 3467
-rw------- 1 postgres postgres   8192 Apr 21 09:27 3468
-rw------- 1 postgres postgres      0 Apr 21 09:27 3501
-rw------- 1 postgres postgres   8192 Apr 21 09:27 3502
-rw------- 1 postgres postgres   8192 Apr 21 09:27 3503
-rw------- 1 postgres postgres   8192 Apr 21 09:27 3534
-rw------- 1 postgres postgres   8192 Apr 21 09:27 3541
-rw------- 1 postgres postgres  24576 Apr 21 09:27 3541_fsm
-rw------- 1 postgres postgres   8192 Apr 21 09:27 3541_vm
-rw------- 1 postgres postgres  16384 Apr 21 09:27 3542
-rw------- 1 postgres postgres   8192 Apr 21 09:27 3574
-rw------- 1 postgres postgres   8192 Apr 21 09:27 3575
-rw------- 1 postgres postgres      0 Apr 21 09:27 3576
-rw------- 1 postgres postgres      0 Apr 21 09:27 3596
-rw------- 1 postgres postgres   8192 Apr 21 09:27 3597
-rw------- 1 postgres postgres      0 Apr 21 09:27 3598
-rw------- 1 postgres postgres   8192 Apr 21 09:27 3599
-rw------- 1 postgres postgres   8192 Apr 21 09:27 3600
-rw------- 1 postgres postgres  24576 Apr 21 09:27 3600_fsm
-rw------- 1 postgres postgres   8192 Apr 21 09:27 3600_vm
-rw------- 1 postgres postgres   8192 Apr 21 09:27 3601
-rw------- 1 postgres postgres  24576 Apr 21 09:27 3601_fsm
-rw------- 1 postgres postgres   8192 Apr 21 09:27 3601_vm
-rw------- 1 postgres postgres   8192 Apr 21 09:27 3602
-rw------- 1 postgres postgres  24576 Apr 21 09:27 3602_fsm
-rw------- 1 postgres postgres   8192 Apr 21 09:27 3602_vm
-rw------- 1 postgres postgres  24576 Apr 21 09:27 3603
-rw------- 1 postgres postgres  24576 Apr 21 09:27 3603_fsm
-rw------- 1 postgres postgres   8192 Apr 21 09:27 3603_vm
-rw------- 1 postgres postgres  16384 Apr 21 09:27 3604
-rw------- 1 postgres postgres  16384 Apr 21 09:27 3605
-rw------- 1 postgres postgres  16384 Apr 21 09:27 3606
-rw------- 1 postgres postgres  16384 Apr 21 09:27 3607
-rw------- 1 postgres postgres  16384 Apr 21 09:27 3608
-rw------- 1 postgres postgres  32768 Apr 21 09:27 3609
-rw------- 1 postgres postgres  16384 Apr 21 09:27 3712
-rw------- 1 postgres postgres   8192 Apr 21 09:27 3764
-rw------- 1 postgres postgres  24576 Apr 21 09:27 3764_fsm
-rw------- 1 postgres postgres   8192 Apr 21 09:27 3764_vm
-rw------- 1 postgres postgres  16384 Apr 21 09:27 3766
-rw------- 1 postgres postgres  16384 Apr 21 09:27 3767
-rw------- 1 postgres postgres   8192 Apr 21 09:27 3997
-rw------- 1 postgres postgres      0 Apr 21 09:27 4143
-rw------- 1 postgres postgres   8192 Apr 21 09:27 4144
-rw------- 1 postgres postgres      0 Apr 21 09:27 4145
-rw------- 1 postgres postgres   8192 Apr 21 09:27 4146
-rw------- 1 postgres postgres      0 Apr 21 09:27 4147
-rw------- 1 postgres postgres   8192 Apr 21 09:27 4148
-rw------- 1 postgres postgres      0 Apr 21 09:27 4149
-rw------- 1 postgres postgres   8192 Apr 21 09:27 4150
-rw------- 1 postgres postgres      0 Apr 21 09:27 4151
-rw------- 1 postgres postgres   8192 Apr 21 09:27 4152
-rw------- 1 postgres postgres      0 Apr 21 09:27 4153
-rw------- 1 postgres postgres   8192 Apr 21 09:27 4154
-rw------- 1 postgres postgres      0 Apr 21 09:27 4155
-rw------- 1 postgres postgres   8192 Apr 21 09:27 4156
-rw------- 1 postgres postgres      0 Apr 21 09:27 4157
-rw------- 1 postgres postgres   8192 Apr 21 09:27 4158
-rw------- 1 postgres postgres      0 Apr 21 09:27 4159
-rw------- 1 postgres postgres   8192 Apr 21 09:27 4160
-rw------- 1 postgres postgres      0 Apr 21 09:27 4163
-rw------- 1 postgres postgres   8192 Apr 21 09:27 4164
-rw------- 1 postgres postgres      0 Apr 21 09:27 4165
-rw------- 1 postgres postgres   8192 Apr 21 09:27 4166
-rw------- 1 postgres postgres      0 Apr 21 09:27 4167
-rw------- 1 postgres postgres   8192 Apr 21 09:27 4168
-rw------- 1 postgres postgres      0 Apr 21 09:27 4169
-rw------- 1 postgres postgres   8192 Apr 21 09:27 4170
-rw------- 1 postgres postgres      0 Apr 21 09:27 4171
-rw------- 1 postgres postgres   8192 Apr 21 09:27 4172
-rw------- 1 postgres postgres      0 Apr 21 09:27 4173
-rw------- 1 postgres postgres   8192 Apr 21 09:27 4174
-rw------- 1 postgres postgres   8192 Apr 21 09:27 5002
-rw------- 1 postgres postgres   8192 Apr 21 09:27 548
-rw------- 1 postgres postgres   8192 Apr 21 09:27 549
-rw------- 1 postgres postgres      0 Apr 21 09:27 6102
-rw------- 1 postgres postgres      0 Apr 21 09:27 6104
-rw------- 1 postgres postgres      0 Apr 21 09:27 6106
-rw------- 1 postgres postgres   8192 Apr 21 09:27 6110
-rw------- 1 postgres postgres   8192 Apr 21 09:27 6111
-rw------- 1 postgres postgres   8192 Apr 21 09:27 6112
-rw------- 1 postgres postgres   8192 Apr 21 09:27 6113
-rw------- 1 postgres postgres   8192 Apr 21 09:27 6117
-rw------- 1 postgres postgres      0 Apr 21 09:27 6175
-rw------- 1 postgres postgres   8192 Apr 21 09:27 6176
-rw------- 1 postgres postgres      0 Apr 21 09:27 826
-rw------- 1 postgres postgres   8192 Apr 21 09:27 827
-rw------- 1 postgres postgres   8192 Apr 21 09:27 828
-rw------- 1 postgres postgres    512 Apr 21 09:27 pg_filenode.map
-rw------- 1 postgres postgres 155936 Apr 21 09:27 pg_internal.init
-rw------- 1 postgres postgres      3 Apr 21 09:27 PG_VERSION

 

 

 

posted on 2025-04-21 09:23  ZhangZhihuiAAA  阅读(25)  评论(0)    收藏  举报