PG: The Ruby PostgreSQL Driver
Classes
Files
pg
¶
↑
Pg is the Ruby interface to the
PostgreSQL RDBMS
.
Learn more »
Classes/Modules
PG
PG
::BasicTypeMapBasedOnResult
PG
::BasicTypeMapForQueries
PG
::BasicTypeMapForQueries
::BinaryData
PG
::BasicTypeMapForResults
PG
::BasicTypeRegistry
PG
::BasicTypeRegistry
::CoderMap
PG
::BasicTypeRegistry
::CoderMapsBundle
PG
::BinaryDecoder
PG
::BinaryDecoder
::Boolean
PG
::BinaryDecoder
::Bytea
PG
::BinaryDecoder
::Float
PG
::BinaryDecoder
::Integer
PG
::BinaryDecoder
::String
PG
::BinaryDecoder
::Timestamp
PG
::BinaryDecoder
::TimestampUtc
PG
::BinaryDecoder
::ToBase64
PG
::BinaryEncoder
PG
::BinaryEncoder
::Boolean
PG
::BinaryEncoder
::FromBase64
PG
::BinaryEncoder
::Int2
PG
::BinaryEncoder
::Int4
PG
::BinaryEncoder
::Int8
PG
::Coder
PG
::CompositeCoder
PG
::CompositeDecoder
PG
::CompositeEncoder
PG
::Connection
PG
::CopyCoder
PG
::CopyDecoder
PG
::CopyEncoder
PG
::RecordCoder
PG
::RecordDecoder
PG
::RecordEncoder
PG
::Result
PG
::SimpleCoder
PG
::SimpleDecoder
PG
::SimpleEncoder
PG
::TextDecoder
PG
::TextDecoder
::Array
PG
::TextDecoder
::Boolean
PG
::TextDecoder
::Bytea
PG
::TextDecoder
::CopyRow
PG
::TextDecoder
::Float
PG
::TextDecoder
::FromBase64
PG
::TextDecoder
::Identifier
PG
::TextDecoder
::Inet
PG
::TextDecoder
::Integer
PG
::TextDecoder
::Numeric
PG
::TextDecoder
::Record
PG
::TextDecoder
::String
PG
::TextDecoder
::Timestamp
PG
::TextDecoder
::TimestampUtc
PG
::TextEncoder
PG
::TextEncoder
::Array
PG
::TextEncoder
::Boolean
PG
::TextEncoder
::Bytea
PG
::TextEncoder
::CopyRow
PG
::TextEncoder
::Float
PG
::TextEncoder
::Identifier
PG
::TextEncoder
::Integer
PG
::TextEncoder
::Numeric
PG
::TextEncoder
::QuotedLiteral
PG
::TextEncoder
::Record
PG
::TextEncoder
::String
PG
::TextEncoder
::ToBase64
PG
::Tuple
PG
::TypeMap
PG
::TypeMapAllStrings
PG
::TypeMapByClass
PG
::TypeMapByColumn
PG
::TypeMapByMriType
PG
::TypeMapByOid
PG
::TypeMapInRuby
Methods
::async_api=
[::Connection]
::async_connect
[::Connection]
::async_ping
[::Connection]
::async_send_api=
[::Connection]
::conndefaults
[::Connection]
::conndefaults_hash
[::Connection]
::connect
[::Connection]
::connect
[PG]
::connect_hash_to_string
[::Connection]
::connect_start
[::Connection]
::conninfo_parse
[::Connection]
::encrypt_password
[::Connection]
::escape_bytea
[::Connection]
::escape_string
[::Connection]
::init_openssl
[PG]
::init_ssl
[PG]
::isthreadsafe
[PG]
::library_version
[PG]
::new
[::TypeMapByColumn]
::new
[::Coder]
::new
[::TimestampLocal]
::new
[::BasicTypeMapBasedOnResult]
::new
[::BasicTypeMapForQueries]
::new
[::BasicTypeMapForResults]
::new
[::WarningTypeMap]
::new
[::BasicTypeRegistry]
::new
[::TimestampUtcToLocal]
::new
[::TimestampUtc]
::new
[::CoderMap]
::new
[::Connection]
::new
[::CoderMapsBundle]
::new
[::TimestampLocal]
::new
[::TimestampUtc]
::new
[::TimestampUtcToLocal]
::new
[::BinaryFormatting]
::new
[::Error]
::open
[::Connection]
::parse_connect_args
[::Connection]
::ping
[::Connection]
::quote_connstr
[::Connection]
::quote_ident
[::Connection]
::setdb
[::Connection]
::setdblogin
[::Connection]
::sync_connect
[::Connection]
::sync_ping
[::Connection]
::unescape_bytea
[::Connection]
::version_string
[PG]
#==
[::Coder]
#[]
[::TypeMapByMriType]
#[]
[::Tuple]
#[]
[::TypeMapByClass]
#[]
[::Result]
#[]=
[::TypeMapByClass]
#[]=
[::TypeMapByMriType]
#add_coder
[::TypeMapByOid]
#alias_type
[::BasicTypeRegistry]
#async_cancel
[::Connection]
#async_describe_portal
[::Connection]
#async_describe_prepared
[::Connection]
#async_encrypt_password
[::Connection]
#async_exec
[::Connection]
#async_exec_params
[::Connection]
#async_exec_prepared
[::Connection]
#async_flush
[::Connection]
#async_get_copy_data
[::Connection]
#async_get_last_result
[::Connection]
#async_get_result
[::Connection]
#async_isnonblocking
[::Connection]
#async_prepare
[::Connection]
#async_put_copy_data
[::Connection]
#async_put_copy_end
[::Connection]
#async_query
[::Connection]
#async_reset
[::Connection]
#async_set_client_encoding
[::Connection]
#async_setnonblocking
[::Connection]
#autoclear?
[::Result]
#backend_key
[::Connection]
#backend_pid
[::Connection]
#block
[::Connection]
#build_coder_maps
[::Checker]
#build_column_map
[::TypeMapByOid]
#cancel
[::Connection]
#check
[::Result]
#check_format_and_direction
[::Checker]
#check_result
[::Result]
#clear
[::Result]
#cleared?
[::Result]
#client_encoding=
[::Connection]
#close
[::Connection]
#cmd_status
[::Result]
#cmd_tuples
[::Result]
#cmdtuples
[::Result]
#coder_by_name
[::CoderMap]
#coder_by_oid
[::CoderMap]
#coders
[::TypeMapByColumn]
#coders
[::TypeMapByOid]
#coders
[::TypeMapByMriType]
#coders
[::TypeMapByClass]
#coders_for
[::BasicTypeRegistry]
#column_values
[::Result]
#conndefaults
[::Connection]
#conndefaults_hash
[::Connection]
#connect_poll
[::Connection]
#connection_needs_password
[::Connection]
#connection_used_password
[::Connection]
#conninfo
[::Connection]
#conninfo_hash
[::Connection]
#consume_input
[::Connection]
#copy_data
[::Connection]
#db
[::Connection]
#decode
[::JSON]
#decode
[::Date]
#decoder_for_get_copy_data
[::Connection]
#decoder_for_get_copy_data=
[::Connection]
#default_type_map
[::DefaultTypeMappable]
#default_type_map=
[::DefaultTypeMappable]
#define_default_types
[::BasicTypeRegistry]
#delimiter
[::CompositeCoder]
#delimiter
[::CopyCoder]
#delimiter=
[::CompositeCoder]
#delimiter=
[::CopyCoder]
#describe_portal
[::Connection]
#describe_prepared
[::Connection]
#discard_results
[::Connection]
#dup
[::Coder]
#each
[::Tuple]
#each
[::Result]
#each_format
[::CoderMapsBundle]
#each_key
[::Tuple]
#each_row
[::Result]
#each_value
[::Tuple]
#elements_type=
[::CompositeCoder]
#encode
[::TimestampWithoutTimeZone]
#encode
[::Date]
#encode
[::Inet]
#encode
[::JSON]
#encode
[::TimestampUtc]
#encode
[::TimestampWithTimeZone]
#encode_array_as=
[::BasicTypeMapForQueries]
#encoder_for_put_copy_data
[::Connection]
#encoder_for_put_copy_data=
[::Connection]
#encrypt_password
[::Connection]
#enter_pipeline_mode
[::Connection]
#error_field
[::Result]
#error_message
[::Connection]
#error_message
[::Result]
#escape
[::Connection]
#escape_bytea
[::Connection]
#escape_identifier
[::Connection]
#escape_literal
[::Connection]
#escape_string
[::Connection]
#exec
[::Connection]
#exec_params
[::Connection]
#exec_prepared
[::Connection]
#exit_pipeline_mode
[::Connection]
#external_encoding
[::Connection]
#fetch
[::Tuple]
#fformat
[::Result]
#field_name_type
[::Result]
#field_name_type
[::Connection]
#field_name_type=
[::Result]
#field_name_type=
[::Connection]
#field_names_as
[::Result]
#field_values
[::Result]
#fields
[::Result]
#finish
[::Connection]
#finished?
[::Connection]
#fit_to_copy_get
[::TypeMapInRuby]
#fit_to_query
[::TypeMapInRuby]
#fit_to_result
[::TypeMapInRuby]
#flags
[::Coder]
#flags=
[::Coder]
#flush
[::Connection]
#fmod
[::Result]
#fname
[::Result]
#fnumber
[::Result]
#format
[::Coder]
#format=
[::Coder]
#fsize
[::Result]
#ftable
[::Result]
#ftablecol
[::Result]
#ftype
[::Result]
#get_client_encoding
[::Connection]
#get_copy_data
[::Connection]
#get_last_result
[::Connection]
#get_result
[::Connection]
#getisnull
[::Result]
#getlength
[::Result]
#getvalue
[::Result]
#has_key?
[::Tuple]
#host
[::Connection]
#hostaddr
[::Connection]
#index
[::Tuple]
#inspect
[::Coder]
#inspect
[::Result]
#inspect
[::Tuple]
#inspect
[::CompositeCoder]
#inspect
[::TypeMapByColumn]
#inspect_short
[::Coder]
#internal_encoding
[::Connection]
#internal_encoding=
[::Connection]
#is_busy
[::Connection]
#isnonblocking
[::Connection]
#key?
[::Tuple]
#keys
[::Tuple]
#length
[::Tuple]
#lo_close
[::Connection]
#lo_creat
[::Connection]
#lo_create
[::Connection]
#lo_export
[::Connection]
#lo_import
[::Connection]
#lo_lseek
[::Connection]
#lo_open
[::Connection]
#lo_read
[::Connection]
#lo_seek
[::Connection]
#lo_tell
[::Connection]
#lo_truncate
[::Connection]
#lo_unlink
[::Connection]
#lo_write
[::Connection]
#loclose
[::Connection]
#locreat
[::Connection]
#locreate
[::Connection]
#loexport
[::Connection]
#loimport
[::Connection]
#lolseek
[::Connection]
#loopen
[::Connection]
#loread
[::Connection]
#loseek
[::Connection]
#lotell
[::Connection]
#lotruncate
[::Connection]
#lounlink
[::Connection]
#lowrite
[::Connection]
#make_empty_pgresult
[::Connection]
#map_for
[::CoderMapsBundle]
#map_types!
[::Result]
#marshal_dump
[::Coder]
#marshal_load
[::Coder]
#max_rows_for_online_lookup
[::TypeMapByOid]
#max_rows_for_online_lookup=
[::TypeMapByOid]
#needs_quotation=
[::CompositeCoder]
#needs_quotation?
[::CompositeCoder]
#nfields
[::Result]
#nonblocking?
[::Connection]
#notifies
[::Connection]
#notifies_wait
[::Connection]
#nparams
[::Result]
#ntuples
[::Result]
#null_string
[::CopyCoder]
#null_string=
[::CopyCoder]
#num_fields
[::Result]
#num_tuples
[::Result]
#oid
[::Coder]
#oid=
[::Coder]
#oid_value
[::Result]
#oids
[::TypeMapByColumn]
#options
[::Connection]
#parameter_status
[::Connection]
#paramtype
[::Result]
#pass
[::Connection]
#pipeline_status
[::Connection]
#pipeline_sync
[::Connection]
#port
[::Connection]
#prepare
[::Connection]
#protocol_version
[::Connection]
#put_copy_data
[::Connection]
#put_copy_end
[::Connection]
#quote_ident
[::Connection]
#register_coder
[::BasicTypeRegistry]
#register_default_types
[::BasicTypeRegistry]
#register_type
[::BasicTypeRegistry]
#res_status
[::Result]
#reset
[::Connection]
#reset_poll
[::Connection]
#reset_start
[::Connection]
#result_error_field
[::Result]
#result_error_message
[::Result]
#result_status
[::Result]
#result_verbose_error_message
[::Result]
#rm_coder
[::TypeMapByOid]
#send_describe_portal
[::Connection]
#send_describe_prepared
[::Connection]
#send_flush_request
[::Connection]
#send_prepare
[::Connection]
#send_query
[::Connection]
#send_query_params
[::Connection]
#send_query_prepared
[::Connection]
#server_version
[::Connection]
#set_client_encoding
[::Connection]
#set_default_encoding
[::Connection]
#set_error_context_visibility
[::Connection]
#set_error_verbosity
[::Connection]
#set_notice_processor
[::Connection]
#set_notice_receiver
[::Connection]
#set_single_row_mode
[::Connection]
#setnonblocking
[::Connection]
#size
[::Tuple]
#socket
[::Connection]
#socket_io
[::Connection]
#ssl_attribute
[::Connection]
#ssl_attribute_names
[::Connection]
#ssl_attributes
[::Connection]
#ssl_in_use?
[::Connection]
#status
[::Connection]
#stream_each
[::Result]
#stream_each_row
[::Result]
#stream_each_tuple
[::Result]
#sync_cancel
[::Connection]
#sync_describe_portal
[::Connection]
#sync_describe_prepared
[::Connection]
#sync_encrypt_password
[::Connection]
#sync_exec
[::Connection]
#sync_exec_params
[::Connection]
#sync_exec_prepared
[::Connection]
#sync_flush
[::Connection]
#sync_get_copy_data
[::Connection]
#sync_get_last_result
[::Connection]
#sync_get_result
[::Connection]
#sync_isnonblocking
[::Connection]
#sync_prepare
[::Connection]
#sync_put_copy_data
[::Connection]
#sync_put_copy_end
[::Connection]
#sync_reset
[::Connection]
#sync_set_client_encoding
[::Connection]
#sync_setnonblocking
[::Connection]
#to_h
[::CompositeCoder]
#to_h
[::CopyCoder]
#to_h
[::RecordCoder]
#to_h
[::Coder]
#trace
[::Connection]
#transaction
[::Connection]
#transaction_status
[::Connection]
#tty
[::Connection]
#tuple
[::Result]
#tuple_values
[::Result]
#type_map
[::RecordCoder]
#type_map
[::CopyCoder]
#type_map
[::Result]
#type_map=
[::CopyCoder]
#type_map=
[::Result]
#type_map=
[::RecordCoder]
#type_map_for_queries
[::Connection]
#type_map_for_queries=
[::Connection]
#type_map_for_results
[::Connection]
#type_map_for_results=
[::Connection]
#typecast_copy_get
[::TypeMapInRuby]
#typecast_query_param
[::TypeMapInRuby]
#typecast_result_value
[::TypeMapInRuby]
#typecast_result_value
[::WarningTypeMap]
#unescape_bytea
[::Connection]
#untrace
[::Connection]
#user
[::Connection]
#values
[::Result]
#values
[::Tuple]
#verbose_error_message
[::Result]
#wait_for_notify
[::Connection]
#with_default_type_map
[::DefaultTypeMappable]
Files
Contributors
History
README-OS_X
README-Windows
README.ja
README
PG
PG::BasicTypeMapBasedOnResult
PG::BasicTypeMapForQueries
PG::BasicTypeMapForQueries::BinaryData
PG::BasicTypeMapForResults
PG::BasicTypeRegistry
PG::BasicTypeRegistry::CoderMap
PG::BasicTypeRegistry::CoderMapsBundle
PG::BinaryDecoder
PG::BinaryDecoder::Boolean
PG::BinaryDecoder::Bytea
PG::BinaryDecoder::Float
PG::BinaryDecoder::Integer
PG::BinaryDecoder::String
PG::BinaryDecoder::Timestamp
PG::BinaryDecoder::TimestampUtc
PG::BinaryDecoder::ToBase64
PG::BinaryEncoder
PG::BinaryEncoder::Boolean
PG::BinaryEncoder::FromBase64
PG::BinaryEncoder::Int2
PG::BinaryEncoder::Int4
PG::BinaryEncoder::Int8
PG::Coder
PG::CompositeCoder
PG::CompositeDecoder
PG::CompositeEncoder
PG::Connection
PG::CopyCoder
PG::CopyDecoder
PG::CopyEncoder
PG::RecordCoder
PG::RecordDecoder
PG::RecordEncoder
PG::Result
PG::SimpleCoder
PG::SimpleDecoder
PG::SimpleEncoder
PG::TextDecoder
PG::TextDecoder::Array
PG::TextDecoder::Boolean
PG::TextDecoder::Bytea
PG::TextDecoder::CopyRow
PG::TextDecoder::Float
PG::TextDecoder::FromBase64
PG::TextDecoder::Identifier
PG::TextDecoder::Inet
PG::TextDecoder::Integer
PG::TextDecoder::Numeric
PG::TextDecoder::Record
PG::TextDecoder::String
PG::TextDecoder::Timestamp
PG::TextDecoder::TimestampUtc
PG::TextEncoder
PG::TextEncoder::Array
PG::TextEncoder::Boolean
PG::TextEncoder::Bytea
PG::TextEncoder::CopyRow
PG::TextEncoder::Float
PG::TextEncoder::Identifier
PG::TextEncoder::Integer
PG::TextEncoder::Numeric
PG::TextEncoder::QuotedLiteral
PG::TextEncoder::Record
PG::TextEncoder::String
PG::TextEncoder::ToBase64
PG::Tuple
PG::TypeMap
PG::TypeMapAllStrings
PG::TypeMapByClass
PG::TypeMapByColumn
PG::TypeMapByMriType
PG::TypeMapByOid
PG::TypeMapInRuby
Contributors
History
README-OS_X
README-Windows
README.ja
README