Sha256: 234802a0b7c44e36f69cb5c4f6848ed60899bc5fbe30db20f184a6729844c5f0

Contents?: true

Size: 441 Bytes

Versions: 3

Compression:

Stored size: 441 Bytes

Contents

# -*- ruby -*-
#encoding: utf-8

# Warn about use of deprecated constants when this is autoloaded
callsite = caller(3).first

warn <<END_OF_WARNING
The PGconn, PGresult, and PGError constants are deprecated, and will be
removed as of version 1.0.

You should use PG::Connection, PG::Result, and PG::Error instead, respectively.

Called from #{callsite}
END_OF_WARNING



PGconn   = PG::Connection
PGresult = PG::Result
PGError  = PG::Error

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pg-0.21.0-x64-mingw32 lib/pg/deprecated_constants.rb
pg-0.21.0-x86-mingw32 lib/pg/deprecated_constants.rb
pg-0.21.0 lib/pg/deprecated_constants.rb