1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Remove --enable-recode feature, since it's been broken by IPv6 changes,

and seems to have too few users to justify maintaining.
This commit is contained in:
Tom Lane
2003-08-04 04:03:10 +00:00
parent f3c3deb7d0
commit 4c3c8c048d
18 changed files with 12 additions and 920 deletions

View File

@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/varchar.c,v 1.101 2003/08/04 02:40:06 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/varchar.c,v 1.102 2003/08/04 04:03:10 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@ -130,10 +130,6 @@ bpcharin(PG_FUNCTION_ARGS)
for (; i < maxlen; i++)
*r++ = ' ';
#ifdef CYR_RECODE
convertstr(VARDATA(result), len, 0);
#endif
PG_RETURN_BPCHAR_P(result);
}
@ -154,10 +150,6 @@ bpcharout(PG_FUNCTION_ARGS)
memcpy(result, VARDATA(s), len);
result[len] = '\0';
#ifdef CYR_RECODE
convertstr(result, len, 1);
#endif
PG_RETURN_CSTRING(result);
}
@ -396,10 +388,6 @@ varcharin(PG_FUNCTION_ARGS)
VARATT_SIZEP(result) = len + VARHDRSZ;
memcpy(VARDATA(result), s, len);
#ifdef CYR_RECODE
convertstr(VARDATA(result), len, 0);
#endif
PG_RETURN_VARCHAR_P(result);
}
@ -420,10 +408,6 @@ varcharout(PG_FUNCTION_ARGS)
memcpy(result, VARDATA(s), len);
result[len] = '\0';
#ifdef CYR_RECODE
convertstr(result, len, 1);
#endif
PG_RETURN_CSTRING(result);
}