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

Commit40015cd

Browse files
committed
Fix arg coerect match text type, per Tom.
1 parentec62ba9 commit40015cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/utils/adt/varlena.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/utils/adt/varlena.c,v 1.77 2001/11/1918:21:10 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/utils/adt/varlena.c,v 1.78 2001/11/1919:15:07 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -260,7 +260,7 @@ textlen(PG_FUNCTION_ARGS)
260260
Datum
261261
textoctetlen(PG_FUNCTION_ARGS)
262262
{
263-
text*arg=PG_GETARG_VARCHAR_P(0);
263+
text*arg=PG_GETARG_TEXT_P(0);
264264

265265
PG_RETURN_INT32(VARSIZE(arg)-VARHDRSZ);
266266
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp