@@ -204,7 +204,7 @@ get_db_infos(ClusterInfo *cluster)
204204/* we don't preserve pg_database.oid so we sort by name */
205205"ORDER BY 2" ,
206206/* 9.2 removed the spclocation column */
207- (GET_MAJOR_VERSION (old_cluster . major_version ) <=901 ) ?
207+ (GET_MAJOR_VERSION (cluster -> major_version ) <=901 ) ?
208208"t.spclocation" :"pg_catalog.pg_tablespace_location(t.oid) AS spclocation" );
209209
210210res = executeQueryOrDie (conn ,"%s" ,query );
@@ -287,7 +287,7 @@ get_rel_infos(ClusterInfo *cluster, DbInfo *dbinfo)
287287/* we preserve pg_class.oid so we sort by it to match old/new */
288288"ORDER BY 1;" ,
289289/* 9.2 removed the spclocation column */
290- (GET_MAJOR_VERSION (old_cluster . major_version ) <=901 ) ?
290+ (GET_MAJOR_VERSION (cluster -> major_version ) <=901 ) ?
291291"t.spclocation" :"pg_catalog.pg_tablespace_location(t.oid) AS spclocation" ,
292292/* see the comment at the top of old_8_3_create_sequence_script() */
293293 (GET_MAJOR_VERSION (old_cluster .major_version ) <=803 ) ?