mirror of
https://github.com/postgres/postgres.git
synced 2025-07-11 10:01:57 +03:00
Rename bytea functions to not have upper-case letters in their names.
Clean up grotty coding in them, too. AFAICS from the CVS logs, these have been broken since Postgres95, so I'm not going to insist on an initdb to fix them now...
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: builtins.h,v 1.106 2000/03/14 23:06:50 thomas Exp $
|
||||
* $Id: builtins.h,v 1.107 2000/03/24 02:41:45 tgl Exp $
|
||||
*
|
||||
* NOTES
|
||||
* This should normally only be included by fmgr.h.
|
||||
@ -450,13 +450,13 @@ extern text *text_substr(text *string, int32 m, int32 n);
|
||||
extern text *name_text(NameData *s);
|
||||
extern NameData *text_name(text *s);
|
||||
|
||||
extern struct varlena *byteain(char *inputText);
|
||||
extern char *byteaout(struct varlena * vlena);
|
||||
extern int32 byteaGetSize(struct varlena * v);
|
||||
extern int32 byteaGetByte(struct varlena * v, int32 n);
|
||||
extern int32 byteaGetBit(struct varlena * v, int32 n);
|
||||
extern struct varlena *byteaSetByte(struct varlena * v, int32 n, int32 newByte);
|
||||
extern struct varlena *byteaSetBit(struct varlena * v, int32 n, int32 newBit);
|
||||
extern bytea *byteain(char *inputText);
|
||||
extern char *byteaout(bytea *vlena);
|
||||
extern int32 byteaoctetlen(bytea *v);
|
||||
extern int32 byteaGetByte(bytea *v, int32 n);
|
||||
extern int32 byteaGetBit(bytea *v, int32 n);
|
||||
extern bytea *byteaSetByte(bytea *v, int32 n, int32 newByte);
|
||||
extern bytea *byteaSetBit(bytea *v, int32 n, int32 newBit);
|
||||
|
||||
/* like.c */
|
||||
extern bool namelike(NameData *n, struct varlena * p);
|
||||
|
Reference in New Issue
Block a user