mirror of
https://github.com/postgres/postgres.git
synced 2025-06-29 10:41:53 +03:00
Add get_bit/set_bit functions for bit strings, paralleling those for bytea,
and implement OVERLAY() for bit strings and bytea. In passing also convert text OVERLAY() to a true built-in, instead of relying on a SQL function. Leonardo F, reviewed by Kevin Grittner
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/include/utils/builtins.h,v 1.344 2010/01/19 05:50:18 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/include/utils/builtins.h,v 1.345 2010/01/25 20:55:32 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -698,6 +698,8 @@ extern Datum textoctetlen(PG_FUNCTION_ARGS);
|
||||
extern Datum textpos(PG_FUNCTION_ARGS);
|
||||
extern Datum text_substr(PG_FUNCTION_ARGS);
|
||||
extern Datum text_substr_no_len(PG_FUNCTION_ARGS);
|
||||
extern Datum textoverlay(PG_FUNCTION_ARGS);
|
||||
extern Datum textoverlay_no_len(PG_FUNCTION_ARGS);
|
||||
extern Datum name_text(PG_FUNCTION_ARGS);
|
||||
extern Datum text_name(PG_FUNCTION_ARGS);
|
||||
extern int varstr_cmp(char *arg1, int len1, char *arg2, int len2);
|
||||
|
Reference in New Issue
Block a user