PostgreSQL Source Code
git master
|
#include <ecpglib.h>
#include <ecpgerrno.h>
#include <sqlca.h>
#include <stdio.h>
#include <stdlib.h>
Go to the source code of this file.
Data Structures | |
struct | sqlca_t |
Macros | |
#define | ECPGdebug(X, Y) ECPGdebug((X)+100,(Y)) |
#define | _ECPG_SQL3TYPES_H |
#define | POSTGRES_SQLCA_H |
#define | PGDLLIMPORT |
#define | SQLERRMC_LEN 150 |
#define | sqlca (*ECPGget_sqlca()) |
Enumerations | |
enum | { SQL3_CHARACTER = 1 , SQL3_NUMERIC , SQL3_DECIMAL , SQL3_INTEGER , SQL3_SMALLINT , SQL3_FLOAT , SQL3_REAL , SQL3_DOUBLE_PRECISION , SQL3_DATE_TIME_TIMESTAMP , SQL3_INTERVAL , SQL3_CHARACTER_VARYING = 12 , SQL3_ENUMERATED , SQL3_BIT , SQL3_BIT_VARYING , SQL3_BOOLEAN , SQL3_abstract } |
enum | { SQL3_DDT_DATE = 1 , SQL3_DDT_TIME , SQL3_DDT_TIMESTAMP , SQL3_DDT_TIME_WITH_TIME_ZONE , SQL3_DDT_TIMESTAMP_WITH_TIME_ZONE , SQL3_DDT_ILLEGAL } |
Functions | |
struct sqlca_t * | ECPGget_sqlca (void) |
static void | error (void) |
int | main () |
#define _ECPG_SQL3TYPES_H |
Definition at line 19 of file sql-dyntest.c.
#define ECPGdebug | ( | X, | |
Y | |||
) | ECPGdebug((X)+100,(Y)) |
Definition at line 7 of file sql-dyntest.c.
#define PGDLLIMPORT |
Definition at line 73 of file sql-dyntest.c.
#define POSTGRES_SQLCA_H |
Definition at line 67 of file sql-dyntest.c.
#define sqlca (*ECPGget_sqlca()) |
Definition at line 124 of file sql-dyntest.c.
#define SQLERRMC_LEN 150 |
Definition at line 77 of file sql-dyntest.c.
anonymous enum |
Definition at line 25 of file sql-dyntest.c.
anonymous enum |
Enumerator | |
---|---|
SQL3_DDT_DATE | |
SQL3_DDT_TIME | |
SQL3_DDT_TIMESTAMP | |
SQL3_DDT_TIME_WITH_TIME_ZONE | |
SQL3_DDT_TIMESTAMP_WITH_TIME_ZONE | |
SQL3_DDT_ILLEGAL |
Definition at line 48 of file sql-dyntest.c.
struct sqlca_t* ECPGget_sqlca | ( | void | ) |
Definition at line 108 of file misc.c.
|
static |
Definition at line 147 of file sql-dyntest.c.
References exit(), printf, and sqlca.
Referenced by AcceptResult(), be_tls_init(), check_usermap(), do_edit(), ExecEvalJsonExprPath(), ExecQueryAndProcessResults(), executeBinaryArithmExpr(), executePredicate(), FileReadV(), FileWriteV(), get_array_start(), HandleCopyStream(), initHyperLogLogError(), json_errdetail(), json_errsave_error(), json_lex_number(), JsonPathExists(), JsonPathQuery(), JsonPathValue(), libpqsrv_cancel(), llvm_compile_module(), llvm_create_jit_instance(), llvm_error_message(), llvm_get_function(), llvm_log_jit_error(), llvm_resolve_symbols(), llvm_session_initialize(), main(), mmerror(), mmfatal(), parse_slash_copy(), pg_b64_decode(), pg_b64_encode(), pg_SASL_init(), pgss_shmem_shutdown(), pgstat_read_statsfile(), PLy_exception_set_with_details(), PQescapeStringConn(), PQescapeStringInternal(), pqParseIntParam(), printCrosstab(), ProcessConfigFileInternal(), psql_get_variable(), pthread_barrier_init(), qtext_store(), readCommandResponse(), ReceiveXlogStream(), run_ssl_passphrase_command(), SN_create_env(), StreamLogicalLog(), vmmerror(), and warn_on_mount_point().
int main | ( | void | ) |
Definition at line 154 of file sql-dyntest.c.
References COUNT, ECPGallocate_desc(), ECPGconnect(), ECPGd_data, ECPGd_di_code, ECPGd_EODT, ECPGd_indicator, ECPGd_length, ECPGd_name, ECPGd_octet, ECPGd_precision, ECPGd_ret_octet, ECPGd_scale, ECPGd_type, ECPGdeallocate_desc(), ECPGdebug, ECPGdo(), ECPGget_desc(), ECPGget_desc_header(), ECPGprepare(), ECPGprepared_statement(), ECPGst_normal, ECPGt_bool, ECPGt_char, ECPGt_char_variable, ECPGt_descriptor, ECPGt_double, ECPGt_EOIT, ECPGt_EORT, ECPGt_int, ECPGt_NO_INDICATOR, error(), printf, SQL3_BOOLEAN, SQL3_CHARACTER, SQL3_CHARACTER_VARYING, SQL3_DATE_TIME_TIMESTAMP, SQL3_DDT_DATE, SQL3_DDT_TIME, SQL3_DDT_TIME_WITH_TIME_ZONE, SQL3_DDT_TIMESTAMP, SQL3_DDT_TIMESTAMP_WITH_TIME_ZONE, SQL3_DECIMAL, SQL3_DOUBLE_PRECISION, SQL3_FLOAT, SQL3_INTEGER, SQL3_INTERVAL, SQL3_NUMERIC, SQL3_REAL, SQL3_SMALLINT, and sqlca.