摘要: ### pg订阅[ 传送门](https://www.cnblogs.com/guanchaoguo/p/17679035.html) #### 服务端代码 ``` const {Client} = require('pg'); const WebSocket = require('ws'); co 阅读全文
posted @ 2023-09-05 15:05 vx_guanchaoguo0 阅读(12) 评论(0) 推荐(0) 编辑
摘要: #### Postgres 在 9.1 之后推出 LISTEN / NOTIFY #### 创建一个数据表 foo ``` CREATE TABLE foo (id serial primary key, name varchar); ``` #### 创建一个 存贮过程 ``` CREATE FU 阅读全文
posted @ 2023-09-05 10:54 vx_guanchaoguo0 阅读(11) 评论(0) 推荐(0) 编辑