Functions related to connections to PostgreSQL servers.
More...
#include "pg_con.h"
#include "pg_uri.h"
#include "pg_sql.h"
#include "../../mem/mem.h"
#include "../../dprint.h"
#include "../../ut.h"
#include <stdlib.h>
#include <string.h>
#include <netinet/in.h>
#include <time.h>
Go to the source code of this file.
Functions
- static int get_oids (db_con_t *con)
- Retrieves a list of all supported field types from the server.
- int pg_con (db_con_t *con)
- Create a new pg_con structure.
- int pg_con_connect (db_con_t *con)
- Establish a new connection to server.
- void pg_con_disconnect (db_con_t *con)
- Disconnected from PostgreSQL server.
- static void pg_con_free (db_con_t *con, struct pg_con *payload)
- Free all memory allocated for a pg_con structure.
- static int timestamp_format (PGconn *con)
- Determine the format of timestamps used by the server.
Detailed Description
Definition in file pg_con.c.