@@ -204,7 +204,7 @@ get_db_infos(ClusterInfo *cluster)
204
204
/* we don't preserve pg_database.oid so we sort by name */
205
205
"ORDER BY 2" ,
206
206
/* 9.2 removed the spclocation column */
207
- (GET_MAJOR_VERSION (old_cluster . major_version ) <=901 ) ?
207
+ (GET_MAJOR_VERSION (cluster -> major_version ) <=901 ) ?
208
208
"t.spclocation" :"pg_catalog.pg_tablespace_location(t.oid) AS spclocation" );
209
209
210
210
res = executeQueryOrDie (conn ,"%s" ,query );
@@ -287,7 +287,7 @@ get_rel_infos(ClusterInfo *cluster, DbInfo *dbinfo)
287
287
/* we preserve pg_class.oid so we sort by it to match old/new */
288
288
"ORDER BY 1;" ,
289
289
/* 9.2 removed the spclocation column */
290
- (GET_MAJOR_VERSION (old_cluster . major_version ) <=901 ) ?
290
+ (GET_MAJOR_VERSION (cluster -> major_version ) <=901 ) ?
291
291
"t.spclocation" :"pg_catalog.pg_tablespace_location(t.oid) AS spclocation" ,
292
292
/* see the comment at the top of old_8_3_create_sequence_script() */
293
293
(GET_MAJOR_VERSION (old_cluster .major_version ) <=803 ) ?