# Table of Contents - pg: The Ruby Interface to PostgreSQL

## Pages

- Contributors
- History
  - 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
  - Cross compiling for mswin32
  - Reporting Problems
- README.ja
  - pg
  - Description
- README
  - pg
  - Description
  - Build Status
  - Requirements
  - How To Install
  - Contributing
  - Copying
  - Acknowledgments
- Makefile
- errorcodes.def
- errorcodes
- pg.sln
- pg.vcproj
- pg_19.vcproj

## Classes and Modules

- Object
- PG
- PG::Connection
- PG::ConnectionBad
- PG::Constants
- PG::Error
- PG::NotAllCopyDataRetrieved
- PG::PGError
- PG::Result
- PG::ServerError
- PG::UnableToSend
- PGconn
- PGresult

## Methods

- ::conndefaults — PG::Connection
- ::conndefaults — PG::Connection
- ::connect — PG
- ::connect_start — PG::Connection
- ::connect_start — PG::Connection
- ::encrypt_password — PG::Connection
- ::encrypt_password — PG::Connection
- ::escape_bytea — PG::Connection
- ::escape_bytea — PG::Connection
- ::escape_string — PG::Connection
- ::escape_string — PG::Connection
- ::isthreadsafe — PG
- ::library_version — PG
- ::new — PG::Connection
- ::new — PG::Connection
- ::parse_connect_args — PG::Connection
- ::parse_connect_args — PG::Connection
- ::ping — PG::Connection
- ::ping — PG::Connection
- ::quote_connstr — PG::Connection
- ::quote_connstr — PG::Connection
- ::quote_ident — PG::Connection
- ::quote_ident — PG::Connection
- ::unescape_bytea — PG::Connection
- ::unescape_bytea — PG::Connection
- ::version_string — PG
- #[] — PG::Result
- #async_exec — PG::Connection
- #async_query — PG::Connection
- #backend_pid — PG::Connection
- #block — PG::Connection
- #camelize — Object
- #cancel — PG::Connection
- #check — PG::Result
- #check_result — PG::Result
- #clear — PG::Result
- #client_encoding= — PG::Connection
- #close — PG::Connection
- #cmd_status — PG::Result
- #cmd_tuples — PG::Result
- #cmdtuples — PG::Result
- #column_values — PG::Result
- #conndefaults — PG::Connection
- #connect_poll — PG::Connection
- #connection_needs_password — PG::Connection
- #connection_used_password — PG::Connection
- #consume_input — PG::Connection
- #copy_data — PG::Connection
- #db — PG::Connection
- #describe_portal — PG::Connection
- #describe_prepared — PG::Connection
- #each — PG::Result
- #each_row — PG::Result
- #error_field — PG::Result
- #error_message — 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
- #exec — PG::Connection
- #exec_params — PG::Connection
- #exec_prepared — PG::Connection
- #external_encoding — PG::Connection
- #fformat — PG::Result
- #field_values — PG::Result
- #fields — PG::Result
- #finish — PG::Connection
- #finished? — PG::Connection
- #flush — PG::Connection
- #fmod — PG::Result
- #fname — PG::Result
- #fnumber — PG::Result
- #fsize — PG::Result
- #ftable — PG::Result
- #ftablecol — PG::Result
- #ftype — PG::Result
- #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
- #host — PG::Connection
- #internal_encoding — PG::Connection
- #internal_encoding= — PG::Connection
- #is_busy — PG::Connection
- #isnonblocking — PG::Connection
- #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
- #nfields — PG::Result
- #nonblocking? — PG::Connection
- #notifies — PG::Connection
- #notifies_wait — PG::Connection
- #nparams — PG::Result
- #ntuples — PG::Result
- #num_fields — PG::Result
- #num_tuples — PG::Result
- #oid_value — PG::Result
- #options — PG::Connection
- #parameter_status — PG::Connection
- #paramtype — PG::Result
- #pass — PG::Connection
- #port — PG::Connection
- #prepare — PG::Connection
- #protocol_version — PG::Connection
- #put_copy_data — PG::Connection
- #put_copy_end — PG::Connection
- #query — 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
- #send_describe_portal — PG::Connection
- #send_describe_prepared — PG::Connection
- #send_prepare — PG::Connection
- #send_query — 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
- #socket — PG::Connection
- #socket_io — PG::Connection
- #status — PG::Connection
- #trace — PG::Connection
- #transaction — PG::Connection
- #transaction_status — PG::Connection
- #tty — PG::Connection
- #unescape_bytea — PG::Connection
- #untrace — PG::Connection
- #user — PG::Connection
- #values — PG::Result
- #wait_for_notify — PG::Connection