Commits

Tuukka Norri  committed 0a5a78b

Optimizations
- Removed an unneeded transaction from UPDATE when autocommitting.
- Made firing a fault fetch all the colums (references #4).
- Removed faulting after UPDATE.

  • Participants
  • Parent commits 2b269e0
  • Branches PGTS

Comments (0)

Files changed (1)

File Framework/Sources/PGTSModificationNotifier.m

         addition = @"" PGTS_SCHEMA_NAME "_modification_backend_pid != $2";
     
     NSString* query = [NSString stringWithFormat: 
-        @" SELECT * FROM %@ ($1::timestamp) WHERE %@", modificationTableName, addition];
+        @"SELECT * FROM %@ ($1::timestamp) WHERE %@", modificationTableName, addition];
     PGTSResultSet* res = [connection executeQuery: query parameters: lastCheck, backendPID];
     
     NSNotificationCenter* nc = [NSNotificationCenter defaultCenter];