修改笔记内容

This commit is contained in:
hello 2024-11-20 21:30:46 +08:00
parent 8f2aad584e
commit 8e36b3d3e7

View File

@ -84,7 +84,7 @@ CREATE SUBSCRIPTION my_sub CONNECTION 'dbname=mydb1 host=postgres1_ip_address po
在 postgres1 主库 mydb1 中插入数据。
```sql
INSERT INTO mytable VALUES ('hello');
INSERT INTO mytable VALUES (1,'hello');
```
在 postgres2 从库 mydb2 中查询数据。