Commits

Author Commit Message Labels Comments Date
Lars Kanis
Use RbConfig instead of obsolete and deprecated Config.
Michael Granger
Bumped minor version, updated history.
Michael Granger
New method: PG::Result#check. (fixes #123) This method exposes a previously internal-only function for checking the status of a PG::Result, primarily for people using the async interface. The check is done for you if you're using the synchronous interface, but there was no way to get the same behavior for results fetched via PG::Connection#get_result. This change also adds the PG::Connection associated with a result as an instance variabl…
Michael Granger
New method: PG::Connection#set_default_encoding (fixes #124) This pulls up the code that sets the client_encoding in synchronous connections into a public method that can be called by people using the asynchronous API to achieve the same thing once the connection is established. Thanks to @royaltm for the suggestion.
Michael Granger
Adding a minimal "connection-test function" example
Michael Granger
Bump the hoe-deveiate version in the rvm gemset
Mahlon Smith
Move indexes across tablespaces along with their parents. Remove the 'parent table' option, as we can derive that automatically from the pg_inherits table.
Michael Granger
Documentation fixes.
Michael Granger
Adding Mahlon's samples to the manifest.
Michael Granger
Updated dev dependencies
Mahlon Smith
Add a pile of additional sample scripts that perform various administrative tasks. These have all been fairly well battle-tested and are in production use at $DAYJOB, though they were cleaned up for addition to the Ruby-PG repo. See the top comments in each script for additional information, or the --help flag on any of them for usage. - disk_usage_report Quick reporting on the heaviest disk consumers for a database. Nice for cronned/email reporting. - pg_statist…
Michael Granger
Add a sample from <<issue 119>>
Michael Granger
Adding a minimal-testcase sample
Michael Granger
Lars Kanis
Add checks with binary data for other PG::Result methods
Lars Kanis
Don't associate encoding with non-text-type fields in PGresult#getvalue. This fixes #104 .
Michael Granger
Avoid use of uninitialized Arrays (fixes #47). Instead of declaring an Array at the beginning of fetching results and pushing values onto it to return at the end (which could result in a segfault if the GC runs during a NEWOBJ.
Comments 6
Michael Granger
Fix the guard for PGRES_COPY_BOTH.
Michael Granger
Factor some library-introspection methods up into the toplevel namespace. - PG::Connection.library_version -> PG.library_version - PG::Connection.isthreadsafe -> PG.is_threadsafe? (with backward-compat aliases) - Split up examples by PG version metadata
Michael Granger
Depend on RSpec 2.8 for example metadata
Michael Granger
ifdef'ed PGRES_COPY_BOTH
Michael Granger
Merged in krasul/ruby-pg/issue-68 (pull request #6)
Kashif Rasul
Added logic for missing cases.
Branches
issue-68
Kashif Rasul
Added server ping() API.
Branches
issue-68
Kashif Rasul
Added library_version() as a singleton method. Removed non-singletons.
Branches
issue-68
Kashif Rasul
Added missing #def to rb_define_method() calls.
Branches
issue-68
Kashif Rasul
Added spec for escape_literal().
Branches
issue-68
Kashif Rasul
Removed unused variable.
Branches
issue-68
Kashif Rasul
Added PGconn#escape_literal and PGconn#escape_identifier API and a spec to test for keepalive connection parameters.
Branches
issue-68
Michael Granger
Added tag v0.13.2 for changeset c79cd308363d
  1. Prev
  2. Next