Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc4b2b29

Browse files
committed
Fix ts_debug function to prevent unneeded calls of ts_lexize().
It will be mush better to reimplement ts_debug in C (instead of SQL as now),but it's planned for the future.
1 parent57cafe7 commitc4b2b29

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

‎src/backend/catalog/system_views.sql

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Copyright (c) 1996-2007, PostgreSQL Global Development Group
55
*
6-
* $PostgreSQL: pgsql/src/backend/catalog/system_views.sql,v 1.43 2007/09/1103:28:05 tgl Exp $
6+
* $PostgreSQL: pgsql/src/backend/catalog/system_views.sql,v 1.44 2007/09/1108:51:22 teodor Exp $
77
*/
88

99
CREATEVIEWpg_rolesAS
@@ -415,8 +415,7 @@ SELECT
415415
(SELECT mapdict,pg_catalog.ts_lexize(mapdict,parse.token)AS lex
416416
FROMpg_catalog.pg_ts_config_mapAS m
417417
WHEREm.mapcfg= $1ANDm.maptokentype=parse.tokid
418-
ORDER BYm.mapseqno ) dl
419-
WHEREdl.lexIS NOT NULL
418+
ORDER BYpg_catalog.ts_lexize(mapdict,parse.token) ISNULL,m.mapseqno ) dl
420419
LIMIT1
421420
)AS"Lexized token"
422421
FROMpg_catalog.ts_parse(

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp