mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-08 04:57:33 +08:00
Gen_fmgrtab.pl creates a new file fmgrprotos.h, which contains prototypes for all functions registered in pg_proc.h. This avoids having to manually maintain these prototypes across a random variety of header files. It also automatically enforces a correct function signature, and since there are warnings about missing prototypes, it will detect functions that are defined but not registered in pg_proc.h (or otherwise used). Reviewed-by: Pavel Stehule <pavel.stehule@gmail.com>
26 lines
814 B
C
26 lines
814 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* int8.h
|
|
* Declarations for operations on 64-bit integers.
|
|
*
|
|
*
|
|
* Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
*
|
|
* src/include/utils/int8.h
|
|
*
|
|
* NOTES
|
|
* These data types are supported on all 64-bit architectures, and may
|
|
* be supported through libraries on some 32-bit machines. If your machine
|
|
* is not currently supported, then please try to make it so, then post
|
|
* patches to the postgresql.org hackers mailing list.
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
#ifndef INT8_H
|
|
#define INT8_H
|
|
|
|
extern bool scanint8(const char *str, bool errorOK, int64 *result);
|
|
|
|
#endif /* INT8_H */
|