Commits

Michael Granger  committed bda5c1c

Fix tests under Postgres 8.3.

Ugh. I need an 8.3 testing box.

  • Participants
  • Parent commits 9daa5a0

Comments (0)

Files changed (1)

File 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