[DBD::Pg] Don't attempt to use the POSIX signalling stuff if the OS in Win(dows). See RT #94841

[email protected] Fri, 18 Apr 2014 18:41:04 +0000
Newsgroups perl.dbd.pg.changes
Message-ID <[email protected]>
Committed by Greg Sabino Mullane <[email protected]>

Don't attempt to use the POSIX signalling stuff if the OS
in Win(dows). See RT #94841

---
 t/03smethod.t | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/t/03smethod.t b/t/03smethod.t
index 24a18e1..859a295 100644
--- a/t/03smethod.t
+++ b/t/03smethod.t
@@ -706,6 +706,10 @@ SKIP: {
 		skip ('Not testing cancel 7.4-compiled servers', 1);
 	}
 
+	if ($^O =~ /Win/) {
+		skip ('Cannot test POSIX signalling on Windows', 1);
+	}
+
 	$dbh->do('INSERT INTO dbd_pg_test (id) VALUES (?)',undef,1);
 	$dbh->commit;
 	$dbh->do('SELECT * FROM dbd_pg_test WHERE id = ? FOR UPDATE',undef,1);
-- 
1.8.4