Commits

Tuukka Norri committed 03f57da

Clock_timestamp in modifications and small fixes
- Changed BaseTenModifications.sql to use clock_timestamp () instead of timeofday ().
- Fixed format strings for Log4Cocoa.
- Reverted to fprintf for -logQuery:.

Comments (0)

Files changed (2)

Framework/Framework.xcodeproj/project.pbxproj

 			isa = PBXContainerItemProxy;
 			containerPortal = 53C1DF760B4BD4AB007947D8 /* Log4Cocoa.xcodeproj */;
 			proxyType = 2;
-			remoteGlobalIDString = 530EC0030B4BCDB100DFC1CA /* libLog4Cocoa.a */;
+			remoteGlobalIDString = 530EC0030B4BCDB100DFC1CA;
 			remoteInfo = libLog4Cocoa;
 		};
 		53D044170B4C1DFD00DB9308 /* PBXContainerItemProxy */ = {
 			isa = PBXContainerItemProxy;
 			containerPortal = 53C1DF760B4BD4AB007947D8 /* Log4Cocoa.xcodeproj */;
 			proxyType = 2;
-			remoteGlobalIDString = 53C1DF180B4BD429007947D8 /* AllTests */;
+			remoteGlobalIDString = 53C1DF180B4BD429007947D8;
 			remoteInfo = "AllTests (Upgraded)";
 		};
 		53D044190B4C1DFD00DB9308 /* PBXContainerItemProxy */ = {
 			isa = PBXContainerItemProxy;
 			containerPortal = 53C1DF760B4BD4AB007947D8 /* Log4Cocoa.xcodeproj */;
 			proxyType = 2;
-			remoteGlobalIDString = 53C1DF1F0B4BD429007947D8 /* Documentation */;
+			remoteGlobalIDString = 53C1DF1F0B4BD429007947D8;
 			remoteInfo = "Documentation (Upgraded)";
 		};
 		53D0441B0B4C1DFD00DB9308 /* PBXContainerItemProxy */ = {
 			isa = PBXContainerItemProxy;
 			containerPortal = 53C1DF760B4BD4AB007947D8 /* Log4Cocoa.xcodeproj */;
 			proxyType = 2;
-			remoteGlobalIDString = 530EBD140B4BBFAE00DFC1CA /* Log4Cocoa.framework */;
+			remoteGlobalIDString = 530EBD140B4BBFAE00DFC1CA;
 			remoteInfo = Log4Cocoa;
 		};
 		53D044200B4C1E0D00DB9308 /* PBXContainerItemProxy */ = {
 			isa = PBXContainerItemProxy;
 			containerPortal = 53C1DF760B4BD4AB007947D8 /* Log4Cocoa.xcodeproj */;
 			proxyType = 1;
-			remoteGlobalIDString = 530EC0020B4BCDB100DFC1CA /* libLog4Cocoa */;
+			remoteGlobalIDString = 530EC0020B4BCDB100DFC1CA;
 			remoteInfo = libLog4Cocoa;
 		};
 		53F524D50A51A28900E7DDC4 /* PBXContainerItemProxy */ = {

Framework/Sources/PGTSConnectionPrivate.m

 
 - (void) logQuery: (NSString *) query parameters: (NSArray *) parameters
 {
-    log4Info (@"(%p) %s %s\n", self, query, parameters);
+    printf ("(%p) %s %s\n", self, [[query description] UTF8String], [[parameters description] UTF8String]);
+    //log4Info (@"(%p) %@ %@\n", self, query, parameters);
 }
 
 - (void) logNotice: (id) anObject
 {
-    log4Info (@"(%p) NOTICE: %s", self, anObject);
+    log4Info (@"(%p) NOTICE: %@", self, anObject);
 }
 
 - (void) logNotification: (id) anObject
 {
-    log4Debug (@"(%p) *** NOTIFY: %s\n", self, anObject);
+    log4Debug (@"(%p) *** NOTIFY: %@\n", self, anObject);
 }
 
 /** Called when data is available from the libpq socket */