|
PostgreSQL Source Code git master
|
#include <ecpglib.h>#include <ecpgerrno.h>#include <sqlca.h>#include <stdint.h>#include <stdlib.h>#include "ecpg_config.h"#include <pthread.h>
Go to the source code of this file.
Macros | |
| #define | ECPGdebug(X, Y) ECPGdebug((X)+100,(Y)) |
Functions | |
| void * | test_thread (void *arg) |
| int | main () |
Variables | |
| int | nthreads = 10 |
| int | iterations = 20 |
| #define ECPGdebug | ( | X, | |
| Y | |||
| ) | ECPGdebug((X)+100,(Y)) |
Definition at line 7 of file thread-thread.c.
| int main | ( | void | ) |
Definition at line 41 of file thread-thread.c.
References calloc, ECPGconnect(), ECPGdisconnect(), ECPGdo(), ECPGst_normal, ECPGt_EOIT, ECPGt_EORT, ECPGt_int, ECPGt_NO_INDICATOR, ECPGtrans(), fprintf, free, iterations, nthreads, printf, and test_thread().
| void * test_thread | ( | void * | arg | ) |
Definition at line 132 of file thread-thread.c.
References arg, ECPGconnect(), ECPGdisconnect(), ECPGdo(), ECPGst_normal, ECPGt_char, ECPGt_EOIT, ECPGt_EORT, ECPGt_int, ECPGt_NO_INDICATOR, ECPGtrans(), iterations, printf, snprintf, sqlca, and sqlprint().
Referenced by main().
| int iterations = 20 |
Definition at line 39 of file thread-thread.c.
Referenced by get_password_type(), main(), mock_scram_secret(), parse_scram_secret(), pg_fe_scram_build_secret(), scram_build_secret(), scram_SaltedPassword(), scram_verify_plain_password(), and test_thread().
| int nthreads = 10 |
Definition at line 38 of file thread-thread.c.
Referenced by main().