mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-11-12 11:52:01 +01:00
a65af9c8b3
Namespaced everything under Msf::Db::PostgreSQL, renamed top-level include to postgres_msf to disambiguate. Included recursive requires for all files. Noted the IO monkeypatch -- should revisit. Added a testcase for database connections. The reason for the namespacing is to avoid stomping on any existing Postgres-PR installations, or any other requires named "postgres" or "postgresql" or even "pg," since these may or may not support the method's we're using here. The seperate namespace also allows for easier integration of custom commands later on. git-svn-id: file:///home/svn/framework3/trunk@8342 4d416f70-5f16-0410-b530-b9f4589650da
13 lines
342 B
Ruby
13 lines
342 B
Ruby
# "Pure Ruby PostgreSQL interface," also known as "Postgres-PR" is:
|
|
# Copyright (c) 2005, 2008 by Michael Neumann (mneumann@ntecs.de).
|
|
#
|
|
# Postgres-PR is released under the same terms of license as Ruby.
|
|
#
|
|
# The Ruby License is:
|
|
# http://www.ruby-lang.org/en/LICENSE.txt
|
|
#
|
|
|
|
require 'postgres/postgres-pr/postgres-compat'
|
|
require 'stringio'
|
|
|