We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec62ba9 commit 40015cdCopy full SHA for 40015cd
src/backend/utils/adt/varlena.c
@@ -8,7 +8,7 @@
8
*
9
10
* IDENTIFICATION
11
- * $Header: /cvsroot/pgsql/src/backend/utils/adt/varlena.c,v 1.77 2001/11/19 18:21:10 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/adt/varlena.c,v 1.78 2001/11/19 19:15:07 momjian Exp $
12
13
*-------------------------------------------------------------------------
14
*/
@@ -260,7 +260,7 @@ textlen(PG_FUNCTION_ARGS)
260
Datum
261
textoctetlen(PG_FUNCTION_ARGS)
262
{
263
- text *arg = PG_GETARG_VARCHAR_P(0);
+ text *arg = PG_GETARG_TEXT_P(0);
264
265
PG_RETURN_INT32(VARSIZE(arg) - VARHDRSZ);
266
}
0 commit comments