Class: PG::Connection

Inherits:
Object
  • Object
show all
Includes:
Constants
Defined in:
sig/pg/connection.rbs

Constant Summary

Constants included from Constants

PG::Constants::CONNECTION_AUTH_OK, PG::Constants::CONNECTION_AWAITING_RESPONSE, PG::Constants::CONNECTION_BAD, PG::Constants::CONNECTION_CHECK_STANDBY, PG::Constants::CONNECTION_CHECK_TARGET, PG::Constants::CONNECTION_CHECK_WRITABLE, PG::Constants::CONNECTION_CONSUME, PG::Constants::CONNECTION_GSS_STARTUP, PG::Constants::CONNECTION_MADE, PG::Constants::CONNECTION_NEEDED, PG::Constants::CONNECTION_OK, PG::Constants::CONNECTION_SETENV, PG::Constants::CONNECTION_SSL_STARTUP, PG::Constants::CONNECTION_STARTED, PG::Constants::DEF_PGPORT, PG::Constants::INVALID_OID, PG::Constants::INV_READ, PG::Constants::INV_WRITE, PG::Constants::InvalidOid, PG::Constants::PGRES_BAD_RESPONSE, PG::Constants::PGRES_COMMAND_OK, PG::Constants::PGRES_COPY_BOTH, PG::Constants::PGRES_COPY_IN, PG::Constants::PGRES_COPY_OUT, PG::Constants::PGRES_EMPTY_QUERY, PG::Constants::PGRES_FATAL_ERROR, PG::Constants::PGRES_NONFATAL_ERROR, PG::Constants::PGRES_PIPELINE_ABORTED, PG::Constants::PGRES_PIPELINE_SYNC, PG::Constants::PGRES_POLLING_FAILED, PG::Constants::PGRES_POLLING_OK, PG::Constants::PGRES_POLLING_READING, PG::Constants::PGRES_POLLING_WRITING, PG::Constants::PGRES_SINGLE_TUPLE, PG::Constants::PGRES_TUPLES_OK, PG::Constants::PG_DIAG_COLUMN_NAME, PG::Constants::PG_DIAG_CONSTRAINT_NAME, PG::Constants::PG_DIAG_CONTEXT, PG::Constants::PG_DIAG_DATATYPE_NAME, PG::Constants::PG_DIAG_INTERNAL_POSITION, PG::Constants::PG_DIAG_INTERNAL_QUERY, PG::Constants::PG_DIAG_MESSAGE_DETAIL, PG::Constants::PG_DIAG_MESSAGE_HINT, PG::Constants::PG_DIAG_MESSAGE_PRIMARY, PG::Constants::PG_DIAG_SCHEMA_NAME, PG::Constants::PG_DIAG_SEVERITY, PG::Constants::PG_DIAG_SEVERITY_NONLOCALIZED, PG::Constants::PG_DIAG_SOURCE_FILE, PG::Constants::PG_DIAG_SOURCE_FUNCTION, PG::Constants::PG_DIAG_SOURCE_LINE, PG::Constants::PG_DIAG_SQLSTATE, PG::Constants::PG_DIAG_STATEMENT_POSITION, PG::Constants::PG_DIAG_TABLE_NAME, PG::Constants::PQERRORS_DEFAULT, PG::Constants::PQERRORS_SQLSTATE, PG::Constants::PQERRORS_TERSE, PG::Constants::PQERRORS_VERBOSE, PG::Constants::PQPING_NO_ATTEMPT, PG::Constants::PQPING_NO_RESPONSE, PG::Constants::PQPING_OK, PG::Constants::PQPING_REJECT, PG::Constants::PQSHOW_CONTEXT_ALWAYS, PG::Constants::PQSHOW_CONTEXT_ERRORS, PG::Constants::PQSHOW_CONTEXT_NEVER, PG::Constants::PQTRANS_ACTIVE, PG::Constants::PQTRANS_IDLE, PG::Constants::PQTRANS_INERROR, PG::Constants::PQTRANS_INTRANS, PG::Constants::PQTRANS_UNKNOWN, PG::Constants::PQ_PIPELINE_ABORTED, PG::Constants::PQ_PIPELINE_OFF, PG::Constants::PQ_PIPELINE_ON, PG::Constants::SEEK_CUR, PG::Constants::SEEK_END, PG::Constants::SEEK_SET

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.async_api=Object

Parameters:

  • enable (Object)

Returns:

  • (Object)


5
# File 'sig/pg/connection.rbs', line 5

def self.async_api=: (untyped enable) -> untyped

.async_send_api=Object

Parameters:

  • enable (Object)

Returns:

  • (Object)


11
# File 'sig/pg/connection.rbs', line 11

def self.async_send_api=: (untyped enable) -> untyped

.conndefaultsObject

Returns:

  • (Object)


13
# File 'sig/pg/connection.rbs', line 13

def self.conndefaults: () -> untyped

.conndefaults_hashObject

Returns:

  • (Object)


15
# File 'sig/pg/connection.rbs', line 15

def self.conndefaults_hash: () -> untyped

.connect_hash_to_stringObject

Parameters:

  • hash (Object)

Returns:

  • (Object)


19
# File 'sig/pg/connection.rbs', line 19

def self.connect_hash_to_string: (untyped hash) -> untyped

.connect_startObject

Parameters:

  • (Object)

Returns:

  • (Object)


21
# File 'sig/pg/connection.rbs', line 21

def self.connect_start: (*untyped) -> untyped

.conninfo_parseObject

Parameters:

  • (Object)

Returns:

  • (Object)


23
# File 'sig/pg/connection.rbs', line 23

def self.conninfo_parse: (untyped) -> untyped

.encrypt_passwordObject

Parameters:

  • (Object)
  • (Object)

Returns:

  • (Object)


25
# File 'sig/pg/connection.rbs', line 25

def self.encrypt_password: (untyped, untyped) -> untyped

.escape_byteaObject

Parameters:

  • (Object)

Returns:

  • (Object)


29
# File 'sig/pg/connection.rbs', line 29

def self.escape_bytea: (untyped) -> untyped

.escape_stringObject

Parameters:

  • (Object)

Returns:

  • (Object)


31
# File 'sig/pg/connection.rbs', line 31

def self.escape_string: (untyped) -> untyped

.isthreadsafeObject

Returns:

  • (Object)


33
# File 'sig/pg/connection.rbs', line 33

def self.isthreadsafe: () -> untyped

.newvoid

This method returns an undefined value.

Parameters:

  • args (Object)


35
# File 'sig/pg/connection.rbs', line 35

def self.new: (*untyped args) ?{ (untyped) -> untyped } -> untyped

.parse_connect_argsObject

Parameters:

  • args (Object)

Returns:

  • (Object)


39
# File 'sig/pg/connection.rbs', line 39

def self.parse_connect_args: (*untyped args) -> untyped

.pingObject

Parameters:

  • args (Object)

Returns:

  • (Object)


41
# File 'sig/pg/connection.rbs', line 41

def self.ping: (*untyped args) -> untyped

.quote_connstrObject

Parameters:

  • value (Object)

Returns:

  • (Object)


43
# File 'sig/pg/connection.rbs', line 43

def self.quote_connstr: (untyped value) -> untyped

.quote_identObject

Parameters:

  • (Object)

Returns:

  • (Object)


45
# File 'sig/pg/connection.rbs', line 45

def self.quote_ident: (untyped) -> untyped

.sync_connectObject

Parameters:

  • (Object)

Returns:

  • (Object)


51
# File 'sig/pg/connection.rbs', line 51

def self.sync_connect: (*untyped) -> untyped

.sync_pingObject

Parameters:

  • (Object)

Returns:

  • (Object)


53
# File 'sig/pg/connection.rbs', line 53

def self.sync_ping: (*untyped) -> untyped

.unescape_byteaObject

Parameters:

  • (Object)

Returns:

  • (Object)


55
# File 'sig/pg/connection.rbs', line 55

def self.unescape_bytea: (untyped) -> untyped

Instance Method Details

#async_connect_or_resetObject

Parameters:

  • poll_meth (Object)

Returns:

  • (Object)


401
# File 'sig/pg/connection.rbs', line 401

def async_connect_or_reset: (untyped poll_meth) -> untyped

#backend_keyObject

Returns:

  • (Object)


97
# File 'sig/pg/connection.rbs', line 97

def backend_key: () -> untyped

#backend_pidObject

Returns:

  • (Object)


99
# File 'sig/pg/connection.rbs', line 99

def backend_pid: () -> untyped

#blockObject

Parameters:

  • (Object)

Returns:

  • (Object)


101
# File 'sig/pg/connection.rbs', line 101

def block: (*untyped) -> untyped

#cancelObject

Returns:

  • (Object)


103
# File 'sig/pg/connection.rbs', line 103

def cancel: () -> untyped

#check_socketObject

Returns:

  • (Object)


105
# File 'sig/pg/connection.rbs', line 105

def check_socket: () -> untyped

#conndefaultsObject

Returns:

  • (Object)


111
# File 'sig/pg/connection.rbs', line 111

def conndefaults: () -> untyped

#conndefaults_hashObject

Returns:

  • (Object)


113
# File 'sig/pg/connection.rbs', line 113

def conndefaults_hash: () -> untyped

#connect_pollObject

Returns:

  • (Object)


115
# File 'sig/pg/connection.rbs', line 115

def connect_poll: () -> untyped

#connection_needs_passwordObject

Returns:

  • (Object)


117
# File 'sig/pg/connection.rbs', line 117

def connection_needs_password: () -> untyped

#connection_used_passwordObject

Returns:

  • (Object)


119
# File 'sig/pg/connection.rbs', line 119

def connection_used_password: () -> untyped

#conninfoObject

Returns:

  • (Object)


121
# File 'sig/pg/connection.rbs', line 121

def conninfo: () -> untyped

#conninfo_hashObject

Returns:

  • (Object)


123
# File 'sig/pg/connection.rbs', line 123

def conninfo_hash: () -> untyped

#consume_inputObject

Returns:

  • (Object)


125
# File 'sig/pg/connection.rbs', line 125

def consume_input: () -> untyped

#copy_data {|arg0| ... } ⇒ Object

Parameters:

  • sql (Object)
  • coder (Object)

Yields:

Yield Parameters:

  • arg0 (Object)

Yield Returns:

  • (Object)

Returns:

  • (Object)


127
# File 'sig/pg/connection.rbs', line 127

def copy_data: (untyped sql, ?untyped coder) { (untyped) -> untyped } -> untyped

#dbObject

Returns:

  • (Object)


129
# File 'sig/pg/connection.rbs', line 129

def db: () -> untyped

#decoder_for_get_copy_dataObject

Returns:

  • (Object)


131
# File 'sig/pg/connection.rbs', line 131

def decoder_for_get_copy_data: () -> untyped

#decoder_for_get_copy_data=Object

Parameters:

  • (Object)

Returns:

  • (Object)


133
# File 'sig/pg/connection.rbs', line 133

def decoder_for_get_copy_data=: (untyped) -> untyped

#describe_portalObject

Parameters:

  • (Object)

Returns:

  • (Object)


135
# File 'sig/pg/connection.rbs', line 135

def describe_portal: (untyped) -> untyped

#describe_preparedObject

Parameters:

  • (Object)

Returns:

  • (Object)


137
# File 'sig/pg/connection.rbs', line 137

def describe_prepared: (untyped) -> untyped

#discard_resultsObject

Returns:

  • (Object)


139
# File 'sig/pg/connection.rbs', line 139

def discard_results: () -> untyped

#encoder_for_put_copy_dataObject

Returns:

  • (Object)


141
# File 'sig/pg/connection.rbs', line 141

def encoder_for_put_copy_data: () -> untyped

#encoder_for_put_copy_data=Object

Parameters:

  • (Object)

Returns:

  • (Object)


143
# File 'sig/pg/connection.rbs', line 143

def encoder_for_put_copy_data=: (untyped) -> untyped

#encrypt_passwordObject

Parameters:

  • password (Object)
  • username (Object)
  • algorithm (Object)

Returns:

  • (Object)


145
# File 'sig/pg/connection.rbs', line 145

def encrypt_password: (untyped password, untyped username, ?untyped algorithm) -> untyped

#enter_pipeline_modeObject

Returns:

  • (Object)


147
# File 'sig/pg/connection.rbs', line 147

def enter_pipeline_mode: () -> untyped

#error_messageObject

Returns:

  • (Object)


149
# File 'sig/pg/connection.rbs', line 149

def error_message: () -> untyped

#escape_byteaObject

Parameters:

  • (Object)

Returns:

  • (Object)


153
# File 'sig/pg/connection.rbs', line 153

def escape_bytea: (untyped) -> untyped

#escape_identifierObject

Parameters:

  • (Object)

Returns:

  • (Object)


155
# File 'sig/pg/connection.rbs', line 155

def escape_identifier: (untyped) -> untyped

#escape_literalObject

Parameters:

  • (Object)

Returns:

  • (Object)


157
# File 'sig/pg/connection.rbs', line 157

def escape_literal: (untyped) -> untyped

#escape_stringObject

Parameters:

  • (Object)

Returns:

  • (Object)


159
# File 'sig/pg/connection.rbs', line 159

def escape_string: (untyped) -> untyped

#execObject

Parameters:

  • (Object)

Returns:

  • (Object)


161
# File 'sig/pg/connection.rbs', line 161

def exec: (*untyped) -> untyped

#exec_paramsObject

Parameters:

  • (Object)

Returns:

  • (Object)


163
# File 'sig/pg/connection.rbs', line 163

def exec_params: (*untyped) -> untyped

#exec_preparedObject

Parameters:

  • (Object)

Returns:

  • (Object)


165
# File 'sig/pg/connection.rbs', line 165

def exec_prepared: (*untyped) -> untyped

#exit_pipeline_modeObject

Returns:

  • (Object)


167
# File 'sig/pg/connection.rbs', line 167

def exit_pipeline_mode: () -> untyped

#external_encodingObject

Returns:

  • (Object)


169
# File 'sig/pg/connection.rbs', line 169

def external_encoding: () -> untyped

#field_name_typeObject

Returns:

  • (Object)


171
# File 'sig/pg/connection.rbs', line 171

def field_name_type: () -> untyped

#field_name_type=Object

Parameters:

  • (Object)

Returns:

  • (Object)


173
# File 'sig/pg/connection.rbs', line 173

def field_name_type=: (untyped) -> untyped

#finishObject

Returns:

  • (Object)


175
# File 'sig/pg/connection.rbs', line 175

def finish: () -> untyped

#finished?Object

Returns:

  • (Object)


177
# File 'sig/pg/connection.rbs', line 177

def finished?: () -> untyped

#flushObject

Returns:

  • (Object)


179
# File 'sig/pg/connection.rbs', line 179

def flush: () -> untyped

#flush_data=Object

Parameters:

  • (Object)

Returns:

  • (Object)


403
# File 'sig/pg/connection.rbs', line 403

def flush_data=: (untyped) -> untyped

#get_client_encodingObject

Returns:

  • (Object)


181
# File 'sig/pg/connection.rbs', line 181

def get_client_encoding: () -> untyped

#get_copy_dataObject

Parameters:

  • async (Object)
  • decoder (Object)

Returns:

  • (Object)


183
# File 'sig/pg/connection.rbs', line 183

def get_copy_data: (?untyped async, ?untyped decoder) -> untyped

#get_last_resultObject

Returns:

  • (Object)


185
# File 'sig/pg/connection.rbs', line 185

def get_last_result: () -> untyped

#get_resultObject

Returns:

  • (Object)


187
# File 'sig/pg/connection.rbs', line 187

def get_result: () -> untyped

#hostObject

Returns:

  • (Object)


189
# File 'sig/pg/connection.rbs', line 189

def host: () -> untyped

#hostaddrObject

Returns:

  • (Object)


191
# File 'sig/pg/connection.rbs', line 191

def hostaddr: () -> untyped

#inspectObject

Returns:

  • (Object)


193
# File 'sig/pg/connection.rbs', line 193

def inspect: () -> untyped

#internal_encodingObject

Returns:

  • (Object)


195
# File 'sig/pg/connection.rbs', line 195

def internal_encoding: () -> untyped

#internal_encoding=Object

Parameters:

  • (Object)

Returns:

  • (Object)


197
# File 'sig/pg/connection.rbs', line 197

def internal_encoding=: (untyped) -> untyped

#is_busyObject

Returns:

  • (Object)


199
# File 'sig/pg/connection.rbs', line 199

def is_busy: () -> untyped

#isnonblockingObject

Returns:

  • (Object)


201
# File 'sig/pg/connection.rbs', line 201

def isnonblocking: () -> untyped

#lo_closeObject

Parameters:

  • (Object)

Returns:

  • (Object)


203
# File 'sig/pg/connection.rbs', line 203

def lo_close: (untyped) -> untyped

#lo_creatObject

Parameters:

  • (Object)

Returns:

  • (Object)


205
# File 'sig/pg/connection.rbs', line 205

def lo_creat: (*untyped) -> untyped

#lo_createObject

Parameters:

  • (Object)

Returns:

  • (Object)


207
# File 'sig/pg/connection.rbs', line 207

def lo_create: (untyped) -> untyped

#lo_exportObject

Parameters:

  • (Object)
  • (Object)

Returns:

  • (Object)


209
# File 'sig/pg/connection.rbs', line 209

def lo_export: (untyped, untyped) -> untyped

#lo_importObject

Parameters:

  • (Object)

Returns:

  • (Object)


211
# File 'sig/pg/connection.rbs', line 211

def lo_import: (untyped) -> untyped

#lo_lseekObject

Parameters:

  • (Object)
  • (Object)
  • (Object)

Returns:

  • (Object)


213
# File 'sig/pg/connection.rbs', line 213

def lo_lseek: (untyped, untyped, untyped) -> untyped

#lo_openObject

Parameters:

  • (Object)

Returns:

  • (Object)


215
# File 'sig/pg/connection.rbs', line 215

def lo_open: (*untyped) -> untyped

#lo_readObject

Parameters:

  • (Object)
  • (Object)

Returns:

  • (Object)


217
# File 'sig/pg/connection.rbs', line 217

def lo_read: (untyped, untyped) -> untyped

#lo_tellObject

Parameters:

  • (Object)

Returns:

  • (Object)


221
# File 'sig/pg/connection.rbs', line 221

def lo_tell: (untyped) -> untyped

#lo_truncateObject

Parameters:

  • (Object)
  • (Object)

Returns:

  • (Object)


223
# File 'sig/pg/connection.rbs', line 223

def lo_truncate: (untyped, untyped) -> untyped

Parameters:

  • (Object)

Returns:

  • (Object)


225
# File 'sig/pg/connection.rbs', line 225

def lo_unlink: (untyped) -> untyped

#lo_writeObject

Parameters:

  • (Object)
  • (Object)

Returns:

  • (Object)


227
# File 'sig/pg/connection.rbs', line 227

def lo_write: (untyped, untyped) -> untyped

#make_empty_pgresultObject

Parameters:

  • (Object)

Returns:

  • (Object)


255
# File 'sig/pg/connection.rbs', line 255

def make_empty_pgresult: (untyped) -> untyped

#notifiesObject

Returns:

  • (Object)


259
# File 'sig/pg/connection.rbs', line 259

def notifies: () -> untyped

#optionsObject

Returns:

  • (Object)


263
# File 'sig/pg/connection.rbs', line 263

def options: () -> untyped

#parameter_statusObject

Parameters:

  • (Object)

Returns:

  • (Object)


265
# File 'sig/pg/connection.rbs', line 265

def parameter_status: (untyped) -> untyped

#passObject

Returns:

  • (Object)


267
# File 'sig/pg/connection.rbs', line 267

def pass: () -> untyped

#pipeline_statusObject

Returns:

  • (Object)


269
# File 'sig/pg/connection.rbs', line 269

def pipeline_status: () -> untyped

#pipeline_syncObject

Returns:

  • (Object)


271
# File 'sig/pg/connection.rbs', line 271

def pipeline_sync: () -> untyped

#portObject

Returns:

  • (Object)


273
# File 'sig/pg/connection.rbs', line 273

def port: () -> untyped

#prepareObject

Parameters:

  • (Object)

Returns:

  • (Object)


275
# File 'sig/pg/connection.rbs', line 275

def prepare: (*untyped) -> untyped

#protocol_versionObject

Returns:

  • (Object)


277
# File 'sig/pg/connection.rbs', line 277

def protocol_version: () -> untyped

#put_copy_dataObject

Parameters:

  • buffer (Object)
  • encoder (Object)

Returns:

  • (Object)


279
# File 'sig/pg/connection.rbs', line 279

def put_copy_data: (untyped buffer, ?untyped encoder) -> untyped

#put_copy_endObject

Parameters:

  • args (Object)

Returns:

  • (Object)


281
# File 'sig/pg/connection.rbs', line 281

def put_copy_end: (*untyped args) -> untyped

#quote_identObject

Parameters:

  • (Object)

Returns:

  • (Object)


285
# File 'sig/pg/connection.rbs', line 285

def quote_ident: (untyped) -> untyped

#resetObject

Returns:

  • (Object)


287
# File 'sig/pg/connection.rbs', line 287

def reset: () -> untyped

#reset_pollObject

Returns:

  • (Object)


289
# File 'sig/pg/connection.rbs', line 289

def reset_poll: () -> untyped

#reset_startObject

Returns:

  • (Object)


291
# File 'sig/pg/connection.rbs', line 291

def reset_start: () -> untyped

#reset_start2Object

Parameters:

  • (Object)

Returns:

  • (Object)


405
# File 'sig/pg/connection.rbs', line 405

def reset_start2: (untyped) -> untyped

#send_describe_portalObject

Parameters:

  • (Object)

Returns:

  • (Object)


293
# File 'sig/pg/connection.rbs', line 293

def send_describe_portal: (untyped) -> untyped

#send_describe_preparedObject

Parameters:

  • (Object)

Returns:

  • (Object)


295
# File 'sig/pg/connection.rbs', line 295

def send_describe_prepared: (untyped) -> untyped

#send_flush_requestObject

Returns:

  • (Object)


297
# File 'sig/pg/connection.rbs', line 297

def send_flush_request: () -> untyped

#send_prepareObject

Parameters:

  • (Object)

Returns:

  • (Object)


299
# File 'sig/pg/connection.rbs', line 299

def send_prepare: (*untyped) -> untyped

#send_queryObject

Parameters:

  • (Object)

Returns:

  • (Object)


301
# File 'sig/pg/connection.rbs', line 301

def send_query: (*untyped) -> untyped

#send_query_paramsObject

Parameters:

  • (Object)

Returns:

  • (Object)


303
# File 'sig/pg/connection.rbs', line 303

def send_query_params: (*untyped) -> untyped

#send_query_preparedObject

Parameters:

  • (Object)

Returns:

  • (Object)


305
# File 'sig/pg/connection.rbs', line 305

def send_query_prepared: (*untyped) -> untyped

#server_versionObject

Returns:

  • (Object)


307
# File 'sig/pg/connection.rbs', line 307

def server_version: () -> untyped

#set_client_encodingObject

Parameters:

  • (Object)

Returns:

  • (Object)


309
# File 'sig/pg/connection.rbs', line 309

def set_client_encoding: (untyped) -> untyped

#set_default_encodingObject

Returns:

  • (Object)


311
# File 'sig/pg/connection.rbs', line 311

def set_default_encoding: () -> untyped

#set_error_context_visibilityObject

Parameters:

  • (Object)

Returns:

  • (Object)


313
# File 'sig/pg/connection.rbs', line 313

def set_error_context_visibility: (untyped) -> untyped

#set_error_verbosityObject

Parameters:

  • (Object)

Returns:

  • (Object)


315
# File 'sig/pg/connection.rbs', line 315

def set_error_verbosity: (untyped) -> untyped

#set_notice_processorObject

Returns:

  • (Object)


317
# File 'sig/pg/connection.rbs', line 317

def set_notice_processor: () -> untyped

#set_notice_receiverObject

Returns:

  • (Object)


319
# File 'sig/pg/connection.rbs', line 319

def set_notice_receiver: () -> untyped

#set_single_row_modeObject

Returns:

  • (Object)


321
# File 'sig/pg/connection.rbs', line 321

def set_single_row_mode: () -> untyped

#setnonblockingObject

Parameters:

  • enabled (Object)

Returns:

  • (Object)


323
# File 'sig/pg/connection.rbs', line 323

def setnonblocking: (untyped enabled) -> untyped

#socketObject

Returns:

  • (Object)


325
# File 'sig/pg/connection.rbs', line 325

def socket: () -> untyped

#socket_ioObject

Returns:

  • (Object)


327
# File 'sig/pg/connection.rbs', line 327

def socket_io: () -> untyped

#ssl_attributeObject

Parameters:

  • (Object)

Returns:

  • (Object)


329
# File 'sig/pg/connection.rbs', line 329

def ssl_attribute: (untyped) -> untyped

#ssl_attribute_namesObject

Returns:

  • (Object)


331
# File 'sig/pg/connection.rbs', line 331

def ssl_attribute_names: () -> untyped

#ssl_attributesObject

Returns:

  • (Object)


333
# File 'sig/pg/connection.rbs', line 333

def ssl_attributes: () -> untyped

#ssl_in_use?Object

Returns:

  • (Object)


335
# File 'sig/pg/connection.rbs', line 335

def ssl_in_use?: () -> untyped

#statusObject

Returns:

  • (Object)


337
# File 'sig/pg/connection.rbs', line 337

def status: () -> untyped

#sync_cancelObject

Returns:

  • (Object)


339
# File 'sig/pg/connection.rbs', line 339

def sync_cancel: () -> untyped

#sync_describe_portalObject

Parameters:

  • (Object)

Returns:

  • (Object)


341
# File 'sig/pg/connection.rbs', line 341

def sync_describe_portal: (untyped) -> untyped

#sync_describe_preparedObject

Parameters:

  • (Object)

Returns:

  • (Object)


343
# File 'sig/pg/connection.rbs', line 343

def sync_describe_prepared: (untyped) -> untyped

#sync_encrypt_passwordObject

Parameters:

  • (Object)

Returns:

  • (Object)


345
# File 'sig/pg/connection.rbs', line 345

def sync_encrypt_password: (*untyped) -> untyped

#sync_execObject

Parameters:

  • (Object)

Returns:

  • (Object)


347
# File 'sig/pg/connection.rbs', line 347

def sync_exec: (*untyped) -> untyped

#sync_exec_paramsObject

Parameters:

  • (Object)

Returns:

  • (Object)


349
# File 'sig/pg/connection.rbs', line 349

def sync_exec_params: (*untyped) -> untyped

#sync_exec_preparedObject

Parameters:

  • (Object)

Returns:

  • (Object)


351
# File 'sig/pg/connection.rbs', line 351

def sync_exec_prepared: (*untyped) -> untyped

#sync_flushObject

Returns:

  • (Object)


353
# File 'sig/pg/connection.rbs', line 353

def sync_flush: () -> untyped

#sync_get_copy_dataObject

Parameters:

  • (Object)

Returns:

  • (Object)


355
# File 'sig/pg/connection.rbs', line 355

def sync_get_copy_data: (*untyped) -> untyped

#sync_get_last_resultObject

Returns:

  • (Object)


357
# File 'sig/pg/connection.rbs', line 357

def sync_get_last_result: () -> untyped

#sync_get_resultObject

Returns:

  • (Object)


359
# File 'sig/pg/connection.rbs', line 359

def sync_get_result: () -> untyped

#sync_isnonblockingObject

Returns:

  • (Object)


361
# File 'sig/pg/connection.rbs', line 361

def sync_isnonblocking: () -> untyped

#sync_prepareObject

Parameters:

  • (Object)

Returns:

  • (Object)


363
# File 'sig/pg/connection.rbs', line 363

def sync_prepare: (*untyped) -> untyped

#sync_put_copy_dataObject

Parameters:

  • (Object)

Returns:

  • (Object)


365
# File 'sig/pg/connection.rbs', line 365

def sync_put_copy_data: (*untyped) -> untyped

#sync_put_copy_endObject

Parameters:

  • (Object)

Returns:

  • (Object)


367
# File 'sig/pg/connection.rbs', line 367

def sync_put_copy_end: (*untyped) -> untyped

#sync_resetObject

Returns:

  • (Object)


369
# File 'sig/pg/connection.rbs', line 369

def sync_reset: () -> untyped

#sync_set_client_encodingObject

Parameters:

  • (Object)

Returns:

  • (Object)


371
# File 'sig/pg/connection.rbs', line 371

def sync_set_client_encoding: (untyped) -> untyped

#sync_setnonblockingObject

Parameters:

  • (Object)

Returns:

  • (Object)


373
# File 'sig/pg/connection.rbs', line 373

def sync_setnonblocking: (untyped) -> untyped

#traceObject

Parameters:

  • (Object)

Returns:

  • (Object)


375
# File 'sig/pg/connection.rbs', line 375

def trace: (untyped) -> untyped

#transaction {|arg0| ... } ⇒ Object

Yields:

Yield Parameters:

  • arg0 (Object)

Yield Returns:

  • (Object)

Returns:

  • (Object)


377
# File 'sig/pg/connection.rbs', line 377

def transaction: () { (untyped) -> untyped } -> untyped

#transaction_statusObject

Returns:

  • (Object)


379
# File 'sig/pg/connection.rbs', line 379

def transaction_status: () -> untyped

#ttyObject

Returns:

  • (Object)


381
# File 'sig/pg/connection.rbs', line 381

def tty: () -> untyped

#type_map_for_queriesObject

Returns:

  • (Object)


383
# File 'sig/pg/connection.rbs', line 383

def type_map_for_queries: () -> untyped

#type_map_for_queries=Object

Parameters:

  • (Object)

Returns:

  • (Object)


385
# File 'sig/pg/connection.rbs', line 385

def type_map_for_queries=: (untyped) -> untyped

#type_map_for_resultsObject

Returns:

  • (Object)


387
# File 'sig/pg/connection.rbs', line 387

def type_map_for_results: () -> untyped

#type_map_for_results=Object

Parameters:

  • (Object)

Returns:

  • (Object)


389
# File 'sig/pg/connection.rbs', line 389

def type_map_for_results=: (untyped) -> untyped

#unescape_byteaObject

Parameters:

  • (Object)

Returns:

  • (Object)


391
# File 'sig/pg/connection.rbs', line 391

def unescape_bytea: (untyped) -> untyped

#untraceObject

Returns:

  • (Object)


393
# File 'sig/pg/connection.rbs', line 393

def untrace: () -> untyped

#userObject

Returns:

  • (Object)


395
# File 'sig/pg/connection.rbs', line 395

def user: () -> untyped

#wait_for_notifyObject

Parameters:

  • (Object)

Returns:

  • (Object)


397
# File 'sig/pg/connection.rbs', line 397

def wait_for_notify: (*untyped) -> untyped