# File lib/dbd/pg/statement.rb, line 13
13:     def initialize(db, sql)
14:         super(db)
15:         @db  = db
16:         @sql = sql
17:         @stmt_name = PG_STMT_NAME_PREFIX + self.object_id.to_s
18:         @result = nil
19:         @bindvars = []
20:         @prepared = false
21:     rescue PGError => err
22:         raise DBI::ProgrammingError.new(err.message)
23:     end