mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-12 01:18:35 +08:00
Ooops, I forget... here it is again.
> > > If encoding is not supported returns ERROR.
and if multibyte not enabled too....
Thanks.
Karel
~
28 lines
657 B
C
28 lines
657 B
C
|
|
/* -----------------------------------------------------------------------
|
|
* ascii.h
|
|
*
|
|
* $Id: ascii.h,v 1.3 2000/08/05 14:59:29 momjian Exp $
|
|
*
|
|
* Portions Copyright (c) 1999-2000, PostgreSQL, Inc
|
|
*
|
|
* -----------------------------------------------------------------------
|
|
*/
|
|
|
|
#ifndef _ASCII_H_
|
|
#define _ASCII_H_
|
|
|
|
#include "fmgr.h"
|
|
|
|
extern Datum to_ascii_encname(PG_FUNCTION_ARGS);
|
|
extern Datum to_ascii_enc(PG_FUNCTION_ARGS);
|
|
extern Datum to_ascii_default(PG_FUNCTION_ARGS);
|
|
|
|
#ifdef MULTIBYTE
|
|
|
|
extern char *pg_to_ascii(unsigned char *src, unsigned char *src_end,
|
|
unsigned char *desc, int enc);
|
|
#endif /* MULTIBYTE */
|
|
|
|
#endif /* _ASCII_H_ */
|