postgresql操作手册postgresql操作手册 前言: 1.蓝色字体表示命令行命令,正式执行时不要复制前面的#号,#号只是提示应 该使用root权限操作 2.绿色字体表示注释,有时注释太多就不用绿色表示了 3.注意:本文档的所有操作请先在测试机里进行实践,请不要直接在真实的服 务器中操作! 版权声明: 本文档以开源的形式发布,所有条款如下: (1)无担保:作者不保证文档内容的准确无误,亦不承担由于使用此文档所导致的任何后果 #提示符=>前的db_test表示当前数据库名 用户信息保存在postgres库下面的名为pg_catalg的schema下的pg_user表里: ★第5章、使用客户端连接 ①命令行客户端连接pg数据库 # psql -h 10.99.1.122 -p 5432 -U postgres #连接pg数据库, # -h指定地址,-p指定端口号,-U指定用 postgres template1 template0 db_test postgres=# \l #列出所有数据库(pg内置查询命令) List of databases Name | Owner | Encoding | Collate0 码力 | 17 页 | 445.84 KB | 1 年前3
实现PostgreSQL逻辑复制实战的行,将为所有被修 改的行调用change_cb回调。 一个事务中的每一个行修改,都将调用 必须提供的 change_cb回调,这种修改可 能是一个 INSERT、UPDATE或者 DELETE。 即使原始命令一次修改了多行,该回调 也会 为其中的每一行调用一次。 2016Postgres中国用户大会 Postgres Conference China 2016 中国用户大会 如何使用逻辑复制0 码力 | 17 页 | 1.90 MB | 1 年前3
Scaling with PostgreSQL 9.6 and Postgres-XLPostgres Conference China 2016 中国用户大会 Website and Code • postgres-xl.org • git://git.postgresql.org/git/postgres-xl.git • Docs – files.postgres-xl.org/documentation/index.html Postgres Conference pgxc_clean for 2PC Postgres Conference China 2016 中国用户大会 Configuration: Use pgxc_ctl! (please get from git HEAD for latest bug fixes) Postgres Conference China 2016 中国用户大会 Otherwise, PostgreSQL-like steps0 码力 | 87 页 | 1.16 MB | 1 年前3
PostgreSQL 8.2 Documentation................................................................1691 F.1. Getting The Source Via Git .........................................................................................1691 G. Documentation such as RPMs, say so, including any subversion the package might have. If you are talking about a Git snapshot, mention that, including the commit hash. If your version is older than 8.2.22 we will almost building from a Git tree instead of using a released source package, or if you want to do server development, you also need the following packages: • GNU Flex and Bison are needed to build from a Git checkout0 码力 | 1762 页 | 5.43 MB | 1 年前3
PostgreSQL 8.3 Documentation................................................................2045 H.1. Getting The Source Via Git ........................................................................................2045 I. Documentation such as RPMs, say so, including any subversion the package might have. If you are talking about a Git snapshot, mention that, including the commit hash. If your version is older than 8.3.23 we will almost building from a Git tree instead of using a released source package, or if you want to do server development, you also need the following packages: • GNU Flex and Bison are needed to build from a Git checkout0 码力 | 2143 页 | 4.58 MB | 1 年前3
PostgreSQL 8.3 Documentation................................................................1923 H.1. Getting The Source Via Git .................................................................................1923 I. Documentation such as RPMs, say so, including any subversion the package might have. If you are talking about a Git snapshot, mention that, including the commit hash. xlix Preface If your version is older than 8 building from a Git tree instead of using a released source package, or if you want to do server development, you also need the following packages: • GNU Flex and Bison are needed to build from a Git checkout0 码力 | 2015 页 | 4.54 MB | 1 年前3
PostgreSQL 9.0 Documentation................................................................2451 H.1. Getting The Source Via Git ........................................................................................2451 I. Documentation such as RPMs, say so, including any subversion the package might have. If you are talking about a Git snapshot, mention that, including the commit hash. If your version is older than 9.0.22 we will almost building from a Git tree instead of using a released source package, or if you want to do server development, you also need the following packages: • GNU Flex and Bison are needed to build from a Git checkout0 码力 | 2561 页 | 5.55 MB | 1 年前3
PostgreSQL 9.0 Documentation................................................................2299 H.1. Getting The Source Via Git .................................................................................2299 I. Documentation such as RPMs, say so, including any subversion the package might have. If you are talking about a Git snapshot, mention that, including the commit hash. If your version is older than 9.0.22 we will almost building from a Git tree instead of using a released source package, or if you want to do server development, you also need the following packages: • GNU Flex and Bison are needed to build from a Git checkout0 码力 | 2401 页 | 5.50 MB | 1 年前3
PostgreSQL 8.4 Documentation................................................................2127 H.1. Getting The Source Via Git .................................................................................2127 I. Documentation such as RPMs, say so, including any subversion the package might have. If you are talking about a Git snapshot, mention that, including the commit hash. If your version is older than 8.4.22 we will almost building from a Git tree instead of using a released source package, or if you want to do server development, you also need the following packages: • GNU Flex and Bison are needed to build from a Git checkout0 码力 | 2224 页 | 5.05 MB | 1 年前3
PostgreSQL 8.4 Documentation................................................................2267 H.1. Getting The Source Via Git ........................................................................................2267 I. Documentation such as RPMs, say so, including any subversion the package might have. If you are talking about a Git snapshot, mention that, including the commit hash. If your version is older than 8.4.22 we will almost building from a Git tree instead of using a released source package, or if you want to do server development, you also need the following packages: • GNU Flex and Bison are needed to build from a Git checkout0 码力 | 2371 页 | 5.09 MB | 1 年前3
共 39 条
- 1
- 2
- 3
- 4













