# Table of Contents - pg-1.1.4 Documentation

## Pages

- Contributors
- History
  - v1.1.4 [2019-01-08] Michael Granger <ged@FaerieMUD.org>
  - v1.1.3 [2018-09-06] Michael Granger <ged@FaerieMUD.org>
  - v1.1.2 [2018-08-28] Michael Granger <ged@FaerieMUD.org>
  - v1.1.1 [2018-08-27] Michael Granger <ged@FaerieMUD.org>
  - v1.1.0 [2018-08-24] Michael Granger <ged@FaerieMUD.org>
  - v1.0.0 [2018-01-10] Michael Granger <ged@FaerieMUD.org>
  - v0.21.0 [2017-06-12] Michael Granger <ged@FaerieMUD.org>
  - v0.20.0 [2017-03-10] Michael Granger <ged@FaerieMUD.org>
  - v0.19.0 [2016-09-21] Michael Granger <ged@FaerieMUD.org>
  - v0.18.4 [2015-11-13] Michael Granger <ged@FaerieMUD.org>
  - v0.18.3 [2015-09-03] Michael Granger <ged@FaerieMUD.org>
  - v0.18.2 [2015-05-14] Michael Granger <ged@FaerieMUD.org>
  - v0.18.1 [2015-01-05] Michael Granger <ged@FaerieMUD.org>
  - v0.18.0 [2015-01-01] Michael Granger <ged@FaerieMUD.org>
  - v0.17.1 [2013-12-18] Michael Granger <ged@FaerieMUD.org>
  - v0.17.0 [2013-09-15] Michael Granger <ged@FaerieMUD.org>
  - v0.16.0 [2013-07-22] Michael Granger <ged@FaerieMUD.org>
  - v0.15.1 [2013-04-08] Michael Granger <ged@FaerieMUD.org>
  - v0.15.0 [2013-03-03] Michael Granger <ged@FaerieMUD.org>
  - v0.14.1 [2012-09-02] Michael Granger <ged@FaerieMUD.org>
  - v0.14.0 [2012-06-17] Michael Granger <ged@FaerieMUD.org>
  - v0.13.2 [2012-02-22] Michael Granger <ged@FaerieMUD.org>
  - v0.13.1 [2012-02-12] Michael Granger <ged@FaerieMUD.org>
  - v0.13.0 [2012-02-09] Michael Granger <ged@FaerieMUD.org>
  - v0.12.2 [2012-01-03] Michael Granger <ged@FaerieMUD.org>
  - v0.12.1 [2011-12-14] Michael Granger <ged@FaerieMUD.org>
  - v0.12.0 [2011-12-07] Michael Granger <ged@FaerieMUD.org>
  - v0.11.0 [2011-02-09] Michael Granger <ged@FaerieMUD.org>
  - v0.10.1 [2011-01-19] Michael Granger <ged@FaerieMUD.org>
  - v0.10.0 [2010-12-01] Michael Granger <ged@FaerieMUD.org>
  - v0.9.0 [2010-02-28] Michael Granger <ged@FaerieMUD.org>
  - v0.8.0 [2009-03-28] Jeff Davis <davis.jeffrey@gmail.com>
- LICENSE
- Manifest
- POSTGRES
- README-OS_X
  - Compiling on MacOS X
  - Segfaults and SSL Support
  - Dealing with Installation Problems
  - pg_config
  - ARCHFLAGS and Universal Binaries
- README-Windows
  - Compiling 'pg' on MS Windows
  - Building binary 'pg' gems for MS Windows
  - Reporting Problems
- README.ja
  - pg
  - Description
- README
  - pg
  - Description
  - Build Status
  - Requirements
  - Versioning
  - How To Install
  - Type Casts
  - Encoders / Decoders (ext/pg_*coder.c, lib/pg/*coder.rb)
  - PG::TypeMap and derivations (ext/pg_type_map*.c, lib/pg/type_map*.rb)
  - Contributing
  - Copying
  - Acknowledgments
- Makefile
- errorcodes.def
- errorcodes
- pg.sln
- pg.vcproj
- pg_19.vcproj

## Classes and Modules

- Object
- PG
- PG::BasicTypeMapBasedOnResult
- PG::BasicTypeMapForQueries
- PG::BasicTypeMapForResults
- PG::BasicTypeMapForResults::WarningTypeMap
- PG::BasicTypeRegistry
- PG::BasicTypeRegistry::CoderMap
- PG::BinaryDecoder
- PG::BinaryDecoder::Boolean
- PG::BinaryDecoder::Bytea
- PG::BinaryDecoder::Float
- PG::BinaryDecoder::Integer
- PG::BinaryDecoder::String
- PG::BinaryDecoder::Timestamp
- PG::BinaryDecoder::TimestampLocal
- PG::BinaryDecoder::TimestampUtc
- PG::BinaryDecoder::TimestampUtcToLocal
- PG::BinaryDecoder::ToBase64
- PG::BinaryEncoder
- PG::BinaryEncoder::Boolean
- PG::BinaryEncoder::Bytea
- PG::BinaryEncoder::FromBase64
- PG::BinaryEncoder::Int2
- PG::BinaryEncoder::Int4
- PG::BinaryEncoder::Int8
- PG::BinaryEncoder::String
- PG::Coder
- PG::Coder::BinaryFormatting
- PG::CompositeCoder
- PG::CompositeDecoder
- PG::CompositeEncoder
- PG::Connection
- PG::ConnectionBad
- PG::Constants
- PG::CopyCoder
- PG::CopyDecoder
- PG::CopyEncoder
- PG::Error
- PG::InvalidChangeOfResultFields
- PG::InvalidResultStatus
- PG::NoResultError
- PG::NotAllCopyDataRetrieved
- PG::Result
- PG::ServerError
- PG::SimpleCoder
- PG::SimpleDecoder
- PG::SimpleEncoder
- PG::TextDecoder
- PG::TextDecoder::Array
- PG::TextDecoder::BigDecimal
- PG::TextDecoder::Boolean
- PG::TextDecoder::Bytea
- PG::TextDecoder::CopyRow
- PG::TextDecoder::Date
- PG::TextDecoder::Float
- PG::TextDecoder::FromBase64
- PG::TextDecoder::Identifier
- PG::TextDecoder::Inet
- PG::TextDecoder::Integer
- PG::TextDecoder::JSON
- PG::TextDecoder::String
- PG::TextDecoder::Timestamp
- PG::TextDecoder::TimestampLocal
- PG::TextDecoder::TimestampUtc
- PG::TextDecoder::TimestampUtcToLocal
- PG::TextDecoder::TimestampWithTimeZone
- PG::TextDecoder::TimestampWithoutTimeZone
- PG::TextEncoder
- PG::TextEncoder::Array
- PG::TextEncoder::Boolean
- PG::TextEncoder::Bytea
- PG::TextEncoder::CopyRow
- PG::TextEncoder::Date
- PG::TextEncoder::Float
- PG::TextEncoder::Identifier
- PG::TextEncoder::Inet
- PG::TextEncoder::Integer
- PG::TextEncoder::JSON
- PG::TextEncoder::Numeric
- PG::TextEncoder::QuotedLiteral
- PG::TextEncoder::String
- PG::TextEncoder::TimestampUtc
- PG::TextEncoder::TimestampWithTimeZone
- PG::TextEncoder::TimestampWithoutTimeZone
- PG::TextEncoder::ToBase64
- PG::Tuple
- PG::TypeMap
- PG::TypeMap::DefaultTypeMappable
- PG::TypeMapAllStrings
- PG::TypeMapByClass
- PG::TypeMapByColumn
- PG::TypeMapByMriType
- PG::TypeMapByOid
- PG::TypeMapInRuby
- PG::UnableToSend

## Methods

- ::alias_type — PG::BasicTypeRegistry
- ::async_api= — PG::Connection
- ::conndefaults — PG::Connection
- ::conndefaults_hash — PG::Connection
- ::connect — PG
- ::connect_start — PG::Connection
- ::encrypt_password — PG::Connection
- ::escape_bytea — PG::Connection
- ::escape_string — PG::Connection
- ::init_openssl — PG
- ::init_ssl — PG
- ::isthreadsafe — PG
- ::library_version — PG
- ::new — PG::BinaryDecoder::TimestampUtc
- ::new — PG::BinaryDecoder::TimestampUtcToLocal
- ::new — PG::BinaryDecoder::TimestampLocal
- ::new — PG::TextDecoder::TimestampUtc
- ::new — PG::Coder::BinaryFormatting
- ::new — PG::TextDecoder::TimestampUtcToLocal
- ::new — PG::TextDecoder::TimestampLocal
- ::new — PG::Coder
- ::new — PG::TextDecoder::TimestampLocal
- ::new — PG::BasicTypeMapForQueries
- ::new — PG::BasicTypeMapBasedOnResult
- ::new — PG::BasicTypeMapForResults::WarningTypeMap
- ::new — PG::Connection
- ::new — PG::BasicTypeRegistry::CoderMap
- ::new — PG::BasicTypeMapForResults
- ::new — PG::TypeMapByColumn
- ::parse_connect_args — PG::Connection
- ::ping — PG::Connection
- ::quote_connstr — PG::Connection
- ::quote_ident — PG::Connection
- ::register_type — PG::BasicTypeRegistry
- ::unescape_bytea — PG::Connection
- ::version_string — PG
- #== — PG::Coder
- #[] — PG::TypeMapByMriType
- #[] — PG::Result
- #[] — PG::Tuple
- #[] — PG::TypeMapByClass
- #[]= — PG::TypeMapByClass
- #[]= — PG::TypeMapByMriType
- #add_coder — PG::TypeMapByOid
- #array_encoders_by_klass — PG::BasicTypeMapForQueries
- #async_describe_portal — PG::Connection
- #async_describe_prepared — PG::Connection
- #async_exec — PG::Connection
- #async_exec_params — PG::Connection
- #async_exec_prepared — PG::Connection
- #async_prepare — PG::Connection
- #async_query — PG::Connection
- #autoclear? — PG::Result
- #backend_pid — PG::Connection
- #block — PG::Connection
- #build_coder_maps — PG::BasicTypeRegistry
- #build_column_map — PG::TypeMapByOid
- #camelize — Object
- #cancel — PG::Connection
- #check — PG::Result
- #check_format_and_direction — PG::BasicTypeRegistry
- #check_result — PG::Result
- #clear — PG::Result
- #cleared? — PG::Result
- #client_encoding= — PG::Connection
- #close — PG::Connection
- #cmd_status — PG::Result
- #cmd_tuples — PG::Result
- #cmdtuples — PG::Result
- #coder_by_name — PG::BasicTypeRegistry::CoderMap
- #coder_by_name — PG::BasicTypeMapForQueries
- #coder_by_oid — PG::BasicTypeRegistry::CoderMap
- #coders — PG::TypeMapByOid
- #coders — PG::TypeMapByMriType
- #coders — PG::TypeMapByColumn
- #coders — PG::TypeMapByClass
- #column_values — PG::Result
- #conndefaults — PG::Connection
- #conndefaults_hash — PG::Connection
- #connect_poll — PG::Connection
- #connection_needs_password — PG::Connection
- #connection_used_password — PG::Connection
- #conninfo — PG::Connection
- #conninfo_hash — PG::Connection
- #consume_input — PG::Connection
- #copy_data — PG::Connection
- #db — PG::Connection
- #decode — PG::Coder
- #decode — PG::TextDecoder::Date
- #decode — PG::TextDecoder::JSON
- #decoder_for_get_copy_data — PG::Connection
- #decoder_for_get_copy_data= — PG::Connection
- #default_type_map — PG::TypeMap::DefaultTypeMappable
- #default_type_map= — PG::TypeMap::DefaultTypeMappable
- #delimiter — PG::CopyCoder
- #delimiter — PG::CompositeCoder
- #delimiter= — PG::CompositeCoder
- #delimiter= — PG::CopyCoder
- #discard_results — PG::Connection
- #dup — PG::Coder
- #each — PG::Tuple
- #each — PG::Result
- #each_key — PG::Tuple
- #each_row — PG::Result
- #each_value — PG::Tuple
- #elements_type= — PG::CompositeCoder
- #encode — PG::Coder
- #encode — PG::TextEncoder::TimestampUtc
- #encode — PG::TextEncoder::TimestampWithoutTimeZone
- #encode — PG::TextEncoder::TimestampWithTimeZone
- #encode — PG::TextEncoder::Numeric
- #encode — PG::TextEncoder::Date
- #encode — PG::TextEncoder::JSON
- #encode — PG::TextEncoder::Inet
- #encoder_for_put_copy_data — PG::Connection
- #encoder_for_put_copy_data= — PG::Connection
- #encrypt_password — PG::Connection
- #error_field — PG::Result
- #error_message — PG::Connection
- #error_message — PG::Result
- #escape — PG::Connection
- #escape_bytea — PG::Connection
- #escape_identifier — PG::Connection
- #escape_literal — PG::Connection
- #escape_string — PG::Connection
- #external_encoding — PG::Connection
- #fetch — PG::Tuple
- #fformat — PG::Result
- #field_map — PG::Tuple
- #field_names — PG::Tuple
- #field_values — PG::Result
- #fields — PG::Result
- #finish — PG::Connection
- #finished? — PG::Connection
- #fit_to_copy_get — PG::TypeMapInRuby
- #fit_to_query — PG::TypeMapInRuby
- #fit_to_result — PG::TypeMapInRuby
- #flags — PG::Coder
- #flags= — PG::Coder
- #flush — PG::Connection
- #fmod — PG::Result
- #fname — PG::Result
- #fnumber — PG::Result
- #format — PG::Coder
- #format= — PG::Coder
- #fsize — PG::Result
- #ftable — PG::Result
- #ftablecol — PG::Result
- #ftype — PG::Result
- #get_array_type — PG::BasicTypeMapForQueries
- #get_client_encoding — PG::Connection
- #get_copy_data — PG::Connection
- #get_last_result — PG::Connection
- #get_result — PG::Connection
- #getisnull — PG::Result
- #getlength — PG::Result
- #getvalue — PG::Result
- #guess_result_memsize= — PG::Connection
- #has_key? — PG::Tuple
- #host — PG::Connection
- #index — PG::Tuple
- #inspect — PG::Tuple
- #inspect — PG::Result
- #inspect — PG::CompositeCoder
- #inspect — PG::Coder
- #inspect — PG::TypeMapByColumn
- #internal_encoding — PG::Connection
- #internal_encoding= — PG::Connection
- #is_busy — PG::Connection
- #isnonblocking — PG::Connection
- #key? — PG::Tuple
- #keys — PG::Tuple
- #length — PG::Tuple
- #lo_close — PG::Connection
- #lo_creat — PG::Connection
- #lo_create — PG::Connection
- #lo_export — PG::Connection
- #lo_import — PG::Connection
- #lo_lseek — PG::Connection
- #lo_open — PG::Connection
- #lo_read — PG::Connection
- #lo_seek — PG::Connection
- #lo_tell — PG::Connection
- #lo_truncate — PG::Connection
- #lo_unlink — PG::Connection
- #lo_write — PG::Connection
- #loclose — PG::Connection
- #locreat — PG::Connection
- #locreate — PG::Connection
- #loexport — PG::Connection
- #loimport — PG::Connection
- #lolseek — PG::Connection
- #loopen — PG::Connection
- #loread — PG::Connection
- #loseek — PG::Connection
- #lotell — PG::Connection
- #lotruncate — PG::Connection
- #lounlink — PG::Connection
- #lowrite — PG::Connection
- #make_empty_pgresult — PG::Connection
- #map_types! — PG::Result
- #marshal_dump — PG::Tuple
- #marshal_dump — PG::Coder
- #marshal_load — PG::Tuple
- #marshal_load — PG::Coder
- #max_rows_for_online_lookup — PG::TypeMapByOid
- #max_rows_for_online_lookup= — PG::TypeMapByOid
- #needs_quotation= — PG::CompositeCoder
- #needs_quotation? — PG::CompositeCoder
- #nfields — PG::Result
- #nonblocking? — PG::Connection
- #notifies — PG::Connection
- #notifies_wait — PG::Connection
- #nparams — PG::Result
- #ntuples — PG::Result
- #null_string — PG::CopyCoder
- #null_string= — PG::CopyCoder
- #num_fields — PG::Result
- #num_tuples — PG::Result
- #oid — PG::Coder
- #oid= — PG::Coder
- #oid_value — PG::Result
- #oids — PG::TypeMapByColumn
- #options — PG::Connection
- #parameter_status — PG::Connection
- #paramtype — PG::Result
- #pass — PG::Connection
- #populate_encoder_list — PG::BasicTypeMapForQueries
- #port — PG::Connection
- #protocol_version — PG::Connection
- #put_copy_data — PG::Connection
- #put_copy_end — PG::Connection
- #quote_ident — PG::Connection
- #res_status — PG::Result
- #reset — PG::Connection
- #reset_poll — PG::Connection
- #reset_start — PG::Connection
- #result_error_field — PG::Result
- #result_error_message — PG::Result
- #result_status — PG::Result
- #rm_coder — PG::TypeMapByOid
- #send_describe_portal — PG::Connection
- #send_describe_prepared — PG::Connection
- #send_prepare — PG::Connection
- #send_query — PG::Connection
- #send_query_params — PG::Connection
- #send_query_prepared — PG::Connection
- #server_version — PG::Connection
- #set_client_encoding — PG::Connection
- #set_default_encoding — PG::Connection
- #set_error_verbosity — PG::Connection
- #set_notice_processor — PG::Connection
- #set_notice_receiver — PG::Connection
- #set_single_row_mode — PG::Connection
- #setnonblocking — PG::Connection
- #size — PG::Tuple
- #socket — PG::Connection
- #socket_io — PG::Connection
- #ssl_attribute — PG::Connection
- #ssl_attribute_names — PG::Connection
- #ssl_attributes — PG::Connection
- #ssl_in_use? — PG::Connection
- #status — PG::Connection
- #stream_each — PG::Result
- #stream_each_row — PG::Result
- #stream_each_tuple — PG::Result
- #supports_ranges? — PG::BasicTypeRegistry
- #sync_describe_portal — PG::Connection
- #sync_describe_prepared — PG::Connection
- #sync_exec — PG::Connection
- #sync_exec_params — PG::Connection
- #sync_exec_prepared — PG::Connection
- #sync_prepare — PG::Connection
- #to_h — PG::CompositeCoder
- #to_h — PG::Coder
- #to_h — PG::CopyCoder
- #trace — PG::Connection
- #transaction — PG::Connection
- #transaction_status — PG::Connection
- #tty — PG::Connection
- #tuple — PG::Result
- #tuple_values — PG::Result
- #type_map — PG::Result
- #type_map — PG::CopyCoder
- #type_map= — PG::Result
- #type_map= — PG::CopyCoder
- #type_map_for_queries — PG::Connection
- #type_map_for_queries= — PG::Connection
- #type_map_for_results — PG::Connection
- #type_map_for_results= — PG::Connection
- #typecast_copy_get — PG::TypeMapInRuby
- #typecast_query_param — PG::TypeMapInRuby
- #typecast_result_value — PG::TypeMapInRuby
- #typecast_result_value — PG::BasicTypeMapForResults::WarningTypeMap
- #unescape_bytea — PG::Connection
- #untrace — PG::Connection
- #user — PG::Connection
- #values — PG::Result
- #values — PG::Tuple
- #wait_for_notify — PG::Connection
- #with_default_type_map — PG::TypeMap::DefaultTypeMappable