mirror of
https://github.com/postgres/postgres.git
synced 2025-07-18 17:42:25 +03:00
Remove tabs after spaces in C comments
This was not changed in HEAD, but will be done later as part of a pgindent run. Future pgindent runs will also do this. Report by Tom Lane Backpatch through all supported branches, but not HEAD
This commit is contained in:
@ -582,8 +582,8 @@ restore_toc_entry(ArchiveHandle *AH, TocEntry *te,
|
||||
/*
|
||||
* In parallel restore, if we created the table earlier in
|
||||
* the run then we wrap the COPY in a transaction and
|
||||
* precede it with a TRUNCATE. If archiving is not on
|
||||
* this prevents WAL-logging the COPY. This obtains a
|
||||
* precede it with a TRUNCATE. If archiving is not on
|
||||
* this prevents WAL-logging the COPY. This obtains a
|
||||
* speedup similar to that from using single_txn mode in
|
||||
* non-parallel restores.
|
||||
*/
|
||||
@ -2479,7 +2479,7 @@ _doSetSessionAuth(ArchiveHandle *AH, const char *user)
|
||||
appendPQExpBuffer(cmd, "SET SESSION AUTHORIZATION ");
|
||||
|
||||
/*
|
||||
* SQL requires a string literal here. Might as well be correct.
|
||||
* SQL requires a string literal here. Might as well be correct.
|
||||
*/
|
||||
if (user && *user)
|
||||
appendStringLiteralAHX(cmd, user, AH);
|
||||
@ -2610,7 +2610,7 @@ _becomeUser(ArchiveHandle *AH, const char *user)
|
||||
}
|
||||
|
||||
/*
|
||||
* Become the owner of the given TOC entry object. If
|
||||
* Become the owner of the given TOC entry object. If
|
||||
* changes in ownership are not allowed, this doesn't do anything.
|
||||
*/
|
||||
static void
|
||||
@ -3097,7 +3097,7 @@ ReadHead(ArchiveHandle *AH)
|
||||
/*
|
||||
* If we haven't already read the header, do so.
|
||||
*
|
||||
* NB: this code must agree with _discoverArchiveFormat(). Maybe find a
|
||||
* NB: this code must agree with _discoverArchiveFormat(). Maybe find a
|
||||
* way to unify the cases?
|
||||
*/
|
||||
if (!AH->readHeader)
|
||||
@ -3208,7 +3208,7 @@ checkSeek(FILE *fp)
|
||||
return false;
|
||||
|
||||
/*
|
||||
* Check that fseeko(SEEK_SET) works, too. NB: we used to try to test
|
||||
* Check that fseeko(SEEK_SET) works, too. NB: we used to try to test
|
||||
* this with fseeko(fp, 0, SEEK_CUR). But some platforms treat that as a
|
||||
* successful no-op even on files that are otherwise unseekable.
|
||||
*/
|
||||
@ -3322,7 +3322,7 @@ restore_toc_entries_parallel(ArchiveHandle *AH)
|
||||
}
|
||||
|
||||
/*
|
||||
* Now close parent connection in prep for parallel steps. We do this
|
||||
* Now close parent connection in prep for parallel steps. We do this
|
||||
* mainly to ensure that we don't exceed the specified number of parallel
|
||||
* connections.
|
||||
*/
|
||||
@ -3345,7 +3345,7 @@ restore_toc_entries_parallel(ArchiveHandle *AH)
|
||||
* Initialize the lists of pending and ready items. After this setup, the
|
||||
* pending list is everything that needs to be done but is blocked by one
|
||||
* or more dependencies, while the ready list contains items that have no
|
||||
* remaining dependencies. Note: we don't yet filter out entries that
|
||||
* remaining dependencies. Note: we don't yet filter out entries that
|
||||
* aren't going to be restored. They might participate in dependency
|
||||
* chains connecting entries that should be restored, so we treat them as
|
||||
* live until we actually process them.
|
||||
@ -3912,7 +3912,7 @@ fix_dependencies(ArchiveHandle *AH)
|
||||
* Note: currently, a TABLE DATA should always have exactly one
|
||||
* dependency, on its TABLE item. So we don't bother to search, but look
|
||||
* just at the first dependency. We do trouble to make sure that it's a
|
||||
* TABLE, if possible. However, if the dependency isn't in the archive
|
||||
* TABLE, if possible. However, if the dependency isn't in the archive
|
||||
* then just assume it was a TABLE; this is to cover cases where the table
|
||||
* was suppressed but we have the data and some dependent post-data items.
|
||||
*
|
||||
|
Reference in New Issue
Block a user