mirror of
https://github.com/postgres/postgres.git
synced 2025-07-03 20:02:46 +03:00
Move atooid() definition to a central place
This commit is contained in:
@ -39,6 +39,10 @@ typedef unsigned int Oid;
|
||||
#define OID_MAX UINT_MAX
|
||||
/* you will need to include <limits.h> to use the above #define */
|
||||
|
||||
#define atooid(x) ((Oid) strtoul((x), NULL, 10))
|
||||
/* the above needs <stdlib.h> */
|
||||
|
||||
|
||||
/* Define a signed 64-bit integer type for use in client API declarations. */
|
||||
typedef PG_INT64_TYPE pg_int64;
|
||||
|
||||
|
Reference in New Issue
Block a user