Commits

Michael Granger committed bda5c1c

Fix tests under Postgres 8.3.

Ugh. I need an 8.3 testing box.

Comments (0)

Files changed (1)

spec/pg/connection_spec.rb

 
 	before( :each ) do
 		@conn.exec( 'BEGIN' ) unless example.metadata[:without_transaction]
-		if PG.library_version >= 90000
+		unless PG.respond_to?( :library_version )
 			@conn.exec_params %Q{SET application_name TO '%s'} %
 				[@conn.escape_string(example.description[0,60])]
 		end