Download pgsql/include/server/fe_utils/query_utils.h from codekingpro/portable-devtools: direct link, hf CLI and curl.
- Browser
- Download file 776 Bytes
-
https://huggingface.co/datasets/codekingpro/portable-devtools/resolve/df58e70f9edde36aaca2d2aacc2440dd6c2f807d/pgsql/include/server/fe_utils/query_utils.h
- Command line
-
hf download hf://datasets/codekingpro/portable-devtools@df58e70f9edde36aaca2d2aacc2440dd6c2f807d/pgsql/include/server/fe_utils/query_utils.h
-
curl -L -o query_utils.h https://huggingface.co/datasets/codekingpro/portable-devtools/resolve/df58e70f9edde36aaca2d2aacc2440dd6c2f807d/pgsql/include/server/fe_utils/query_utils.h
776 Bytes
| /*------------------------------------------------------------------------- | |
| * | |
| * Facilities for frontend code to query a databases. | |
| * | |
| * Portions Copyright (c) 1996-2023, PostgreSQL Global Development Group | |
| * Portions Copyright (c) 1994, Regents of the University of California | |
| * | |
| * src/include/fe_utils/query_utils.h | |
| * | |
| *------------------------------------------------------------------------- | |
| */ | |
| extern PGresult *executeQuery(PGconn *conn, const char *query, bool echo); | |
| extern void executeCommand(PGconn *conn, const char *query, bool echo); | |
| extern bool executeMaintenanceCommand(PGconn *conn, const char *query, | |
| bool echo); | |