Database
Object Hierarchy:
Description:
[ Compact ]
[ CCode ( cname = "PGconn" , cprefix = "PQ" , free_function = "PQfinish" ) ]
public class Database
[ CCode ( cname = "PGconn" , cprefix = "PQ" , free_function = "PQfinish" ) ]
public class Database
Namespace: Postgres
Package: libpq
Content:
Static methods:
- public static Ping ping_params (string[] keywords, string[] values, int expand_dbname)
Methods:
- public PollingStatus connect_poll ()
- public int connection_needs_password ()
- public int connection_used_password ()
- public int consume_input ()
- public Result describe_portal (string portal)
- public Result describe_prepared (string stmt)
- public uchar[] escape_bytea_conn (uchar[] from)
- public size_t escape_string_conn (string to, string from, size_t length, out int error)
- public Result exec (string query)
- public Result exec_params (string command, int n_params, Oid[]? param_types, string[]? param_values, int[]? param_lengths, int[]? param_formats, int result_format)
- public Result exec_prepared (string stmt_name, int n_params, string[]? param_values, int[]? param_lengths, int[]? param_formats, int result_format)
- public int flush ()
- public Result fn (int fnid, int[] result_buf, out int result_len, int result_is_int, ArgBlock[] args)
- public int get_backend_pid ()
- public Cancel get_cancel ()
- public int get_client_encoding ()
- public int get_copy_data (ref char[] buffer, int @async)
- public unowned string get_db ()
- public unowned string get_error_message ()
- public unowned string get_host ()
- public Notify get_notifies ()
- public unowned string get_options ()
- public unowned string get_parameter_status (string param_name)
- public unowned string get_passwd ()
- public unowned string get_port ()
- public int get_protocol_Version ()
- public Result get_result ()
- public int get_server_version ()
- public int get_socket ()
- public void* get_ssl ()
- public ConnectionStatus get_status ()
- public TransactionStatus get_transaction_status ()
- public unowned string get_tty ()
- public unowned string get_user ()
- public int is_busy ()
- public int is_non_blocking ()
- public int lo_close (int fd)
- public int lo_creat (int mode)
- public int lo_create (int lobj_id)
- public int lo_export (int lobj_id, string filename)
- public int lo_import (string filename)
- public int lo_lseek (int fd, int offset, int whence)
- public int lo_open (int lobj_id, int mode)
- public int lo_read (int fd, string buf, size_t len)
- public int lo_tell (int fd)
- public int lo_truncate (int fd, size_t len)
- public int lo_unlink (int lobj_id)
- public int lo_write (int fd, string buf, size_t len)
- public Result make_empty_result (ExecStatus status)
- public Ping ping ()
- public Result prepare (string stmt_name, string query, Oid[]? param_types)
- public int put_copy_data (uint8[] buffer)
- public int put_copy_end (string error_msg)
- public int request_cancel ()
- public void reset ()
- public PollingStatus reset_poll ()
- public int reset_start ()
- public int send_describe_portal (string portal)
- public int send_describe_prepared (string stmt)
- public int send_prepare (string stmt_name, string query, Oid[]? param_types)
- public int send_query (string query)
- public int send_query_params (string command, int n_params, Oid[]? param_types, string[]? param_values, int[]? param_lengths, int[]? param_formats, int result_format)
- public int send_query_prepared (string stmt_name, int n_params, string[]? param_values, int[]? param_lengths, int[]? param_formats, int resultFormat)
- public int set_client_encoding (string encoding)
- public Verbosity set_error_verbosity (Verbosity verbosity)
- public int set_non_blocking (int arg)
- public NoticeProcessorFunc set_notice_processor (NoticeProcessorFunc proc_func, void* arg)
- public NoticeReceiverFunc set_notice_receiver (NoticeReceiverFunc proc_func, void* arg)
- public void trace (FileStream debug_port)
- public void untrace ()