File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -145,21 +145,15 @@ static void transfer_compression_files(FileNameMap *map)
145
145
{
146
146
pg_log (PG_VERBOSE , "copying \"%s\" to \"%s\"\n" , old_file , new_file );
147
147
148
- msg = copyFile (old_file , new_file );
148
+ copyFile (old_file , new_file , map -> nspname , map -> relname );
149
149
150
- if (msg )
151
- pg_fatal ("error while copying tablespace (\"%s\" to \"%s\"): %s\n" ,
152
- old_file , new_file , msg );
153
150
}
154
151
else
155
152
{
156
153
pg_log (PG_VERBOSE , "linking \"%s\" to \"%s\"\n" , old_file , new_file );
157
154
158
- msg = linkFile (old_file , new_file );
155
+ linkFile (old_file , new_file , map -> nspname , map -> relname );
159
156
160
- if (msg )
161
- pg_fatal ("error while creating link for tablespace (\"%s\" to \"%s\"): %s\n" ,
162
- old_file , new_file , msg );
163
157
}
164
158
165
159
transfer_relfile (map , ".cfm" , false);
You can’t perform that action at this time.
0 commit comments