From eb36c4d6a73c1f1f2b3ee2576bc5e195c5faa4f2 Mon Sep 17 00:00:00 2001 From: 8ga Date: Mon, 2 Mar 2026 14:06:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=E9=83=A8=E7=BD=B2PostGIS.?= =?UTF-8?q?md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 部署PostGIS.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/部署PostGIS.md b/部署PostGIS.md index 878ac04..1edcece 100644 --- a/部署PostGIS.md +++ b/部署PostGIS.md @@ -146,7 +146,9 @@ CREATE TABLE articles ( -- 生成列:自动维护 tsvector,避免每次查询都计算,提高性能 content_tsvector TSVECTOR GENERATED ALWAYS AS (to_tsvector('chinese_mix', content)) STORED ); +``` +```sql -- 插入一些混合数据 INSERT INTO articles (title, content) VALUES ('AI 技术展望', '人工智能 (AI) 正在改变世界,PostgreSQL 是存储这些数据的首选数据库。'),