Download pgsql/include/postgres_ext.h from codekingpro/portable-devtools: direct link, hf CLI and curl.
- Browser
- Download file 2.24 kB
-
https://huggingface.co/datasets/codekingpro/portable-devtools/resolve/df58e70f9edde36aaca2d2aacc2440dd6c2f807d/pgsql/include/postgres_ext.h
- Command line
-
hf download hf://datasets/codekingpro/portable-devtools@df58e70f9edde36aaca2d2aacc2440dd6c2f807d/pgsql/include/postgres_ext.h
-
curl -L -o postgres_ext.h https://huggingface.co/datasets/codekingpro/portable-devtools/resolve/df58e70f9edde36aaca2d2aacc2440dd6c2f807d/pgsql/include/postgres_ext.h
2.24 kB
| /*------------------------------------------------------------------------- | |
| * | |
| * postgres_ext.h | |
| * | |
| * This file contains declarations of things that are visible everywhere | |
| * in PostgreSQL *and* are visible to clients of frontend interface libraries. | |
| * For example, the Oid type is part of the API of libpq and other libraries. | |
| * | |
| * Declarations which are specific to a particular interface should | |
| * go in the header file for that interface (such as libpq-fe.h). This | |
| * file is only for fundamental Postgres declarations. | |
| * | |
| * User-written C functions don't count as "external to Postgres." | |
| * Those function much as local modifications to the backend itself, and | |
| * use header files that are otherwise internal to Postgres to interface | |
| * with the backend. | |
| * | |
| * src/include/postgres_ext.h | |
| * | |
| *------------------------------------------------------------------------- | |
| */ | |
| /* | |
| * Object ID is a fundamental type in Postgres. | |
| */ | |
| typedef unsigned int Oid; | |
| /* you will need to include <limits.h> to use the above #define */ | |
| /* the above needs <stdlib.h> */ | |
| /* Define a signed 64-bit integer type for use in client API declarations. */ | |
| typedef PG_INT64_TYPE pg_int64; | |
| /* | |
| * Identifiers of error message fields. Kept here to keep common | |
| * between frontend and backend, and also to export them to libpq | |
| * applications. | |
| */ | |