postgresql操作手册/var/lib/pgsql/13/* /data_pg/ #将原数据目录下所有内容移动到新 数据目录下 # vi /usr/lib/systemd/system/postgresql-13.service #pg-13版本,修改systemd服 务文件,指定数据目录 #修改这行:Environment=PGDATA=/var/lib/pgsql/13/data/ 改为新的路径,如 下: /var/lib/pgsql/* /data_pg/ #将原数据目录下所有内容移动到新数 据目录下 # vi /usr/lib/systemd/system/postgresql.service #pg-10版本,修改systemd服务 文件,指定数据目录 #修改这行:Environment=PGDATA=/var/lib/pgsql/data/ 改为新的路径,如下: E ---------------- PostgreSQL 13.13 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-18)... postgres=# select usename from pg_user; #查看系统用户 usename ---------- postgres0 码力 | 17 页 | 445.84 KB | 1 年前3
PostgreSQL 8.0 Documentationboot time, there is probably a start-up file that will accomplish the same thing. For example, on a Red Hat Linux system one might find that /etc/rc.d/init.d/postgresql stop works. Very old versions might installation is sufficient before proceeding. --with-krb-srvnam=NAME The name of the Kerberos service principal. postgres is the default. There’s probably no reason to change this. --with-openssl Build 8.0.0 Build farm emu, snapshot 2004-12-06 11:35:03 3.6 Red Hat Linux AMD64 8.0.0 Tom Lane (), 2004-12-07 RHEL 3AS Red Hat Linux IA64 8.0.0 Tom Lane ( ), 2004-12-07 0 码力 | 1422 页 | 9.92 MB | 1 年前3
PostgreSQL 8.0 Documentationboot time, there is probably a start-up file that will accomplish the same thing. For example, on a Red Hat Linux system one might find that /etc/rc.d/init.d/postgresql stop works. Very old versions might installation is sufficient before proceeding. --with-krb-srvnam=NAME The name of the Kerberos service principal. postgres is the default. There’s probably no reason to change this. --with-openssl Build 2004-12-06 11:35:03 3.6 Red Hat Linux AMD64 8.0.0 Tom Lane (), 2004-12-07 RHEL 3AS Red Hat Linux IA64 8.0.0 Tom Lane ( ), 2004-12-07 RHEL 3AS Red Hat Linux PowerPC 8.0 0 码力 | 1332 页 | 9.76 MB | 1 年前3
PostgreSQL 8.1.11 Documentation......................................................................426 28.13. The Connection Service File .....................................................................................427 28 boot time, there is probably a start-up file that will accomplish the same thing. For example, on a Red Hat Linux system one might find that /etc/rc.d/init.d/postgresql stop works. Very old versions might installation is sufficient before proceeding. --with-krb-srvnam=NAME The default name of the Kerberos service principal. postgres is the default. There’s usually no reason to change this. --with-openssl Build0 码力 | 1582 页 | 12.19 MB | 1 年前3
PostgreSQL 8.1 Documentationboot time, there is probably a start-up file that will accomplish the same thing. For example, on a Red Hat Linux system one might find that /etc/rc.d/init.d/postgresql stop works. Very old versions might installation is sufficient before proceeding. --with-krb-srvnam=NAME The default name of the Kerberos service principal. postgres is the default. There’s usually no reason to change this. --with-openssl Build 2004-12-06 11:35:03 3.6 Red Hat Linux AMD64 8.1.0 Tom Lane (), 2005-10-23 RHEL 4 Red Hat Linux IA64 8.1.0 Tom Lane ( ), 2005-10-23 RHEL 4 Red Hat Linux PowerPC 8.1.0 0 码力 | 1548 页 | 11.54 MB | 1 年前3
PostgreSQL 8.2 Documentation......................................................................457 29.14. The Connection Service File .....................................................................................457 29 boot time, there is probably a start-up file that will accomplish the same thing. For example, on a Red Hat Linux system one might find that /etc/rc.d/init.d/postgresql stop works. 4. If you are installing installation is sufficient before proceeding. --with-krb-srvnam=NAME The default name of the Kerberos service principal. postgres is the default. There’s usually no reason to change this. --with-openssl Build0 码力 | 1748 页 | 13.12 MB | 1 年前3
PostgreSQL 8.2 Documentation......................................................................457 29.14. The Connection Service File .....................................................................................457 29 boot time, there is probably a start-up file that will accomplish the same thing. For example, on a Red Hat Linux system one might find that /etc/rc.d/init.d/postgresql stop works. 4. If you are installing installation is sufficient before proceeding. --with-krb-srvnam=NAME The default name of the Kerberos service principal. postgres is the default. There’s usually no reason to change this. --with-openssl Build0 码力 | 1762 页 | 5.43 MB | 1 年前3
PostgreSQL 10.23 Documentation..................................................................... 837 33.16. The Connection Service File .................................................................... 838 33.17. LDAP Lookup examining the function body. As an example, consider this situation: CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple'); CREATE TABLE my_colors jsonb_path_ops); Consider the example of a table that stores JSON documents retrieved from a third-party web service, with a documented schema definition. A typical document is: { "guid": "9c36adc1-7fb5-4d5b-83b4-90356a46061a"0 码力 | 2727 页 | 11.93 MB | 1 年前3
PostgreSQL 10.23 Documentation..................................................................... 798 33.16. The Connection Service File ............................................................... 798 33.17. LDAP Lookup of Connection examining the function body. As an example, consider this situation: CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple'); CREATE TABLE my_colors jsonb_path_ops); Consider the example of a table that stores JSON documents retrieved from a third-party web service, with a documented schema definition. A typical document is: { "guid": "9c36adc1-7fb5-4d5b-83b4-90356a46061a"0 码力 | 2590 页 | 12.03 MB | 1 年前3
PostgreSQL 11.22 Documentation..................................................................... 845 34.16. The Connection Service File ............................................................... 845 34.17. LDAP Lookup of Connection examining the function body. As an example, consider this situation: CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple'); CREATE TABLE my_colors jsonb_path_ops); Consider the example of a table that stores JSON documents retrieved from a third-party web service, with a documented schema definition. A typical document is: { "guid": "9c36adc1-7fb5-4d5b-83b4-90356a46061a"0 码力 | 2732 页 | 12.44 MB | 1 年前3
共 41 条
- 1
- 2
- 3
- 4
- 5













