mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
pgindent run for 9.4
This includes removing tabs after periods in C comments, which was applied to back branches, so this change should not effect backpatching.
This commit is contained in:
@ -188,7 +188,7 @@ worker_spi_main(Datum main_arg)
|
||||
initialize_worker_spi(table);
|
||||
|
||||
/*
|
||||
* Quote identifiers passed to us. Note that this must be done after
|
||||
* Quote identifiers passed to us. Note that this must be done after
|
||||
* initialize_worker_spi, because that routine assumes the names are not
|
||||
* quoted.
|
||||
*
|
||||
@ -250,7 +250,7 @@ worker_spi_main(Datum main_arg)
|
||||
* StartTransactionCommand() call should be preceded by a
|
||||
* SetCurrentStatementStartTimestamp() call, which sets both the time
|
||||
* for the statement we're about the run, and also the transaction
|
||||
* start time. Also, each other query sent to SPI should probably be
|
||||
* start time. Also, each other query sent to SPI should probably be
|
||||
* preceded by SetCurrentStatementStartTimestamp(), so that statement
|
||||
* start time is always up to date.
|
||||
*
|
||||
@ -370,7 +370,7 @@ worker_spi_launch(PG_FUNCTION_ARGS)
|
||||
int32 i = PG_GETARG_INT32(0);
|
||||
BackgroundWorker worker;
|
||||
BackgroundWorkerHandle *handle;
|
||||
BgwHandleStatus status;
|
||||
BgwHandleStatus status;
|
||||
pid_t pid;
|
||||
|
||||
worker.bgw_flags = BGWORKER_SHMEM_ACCESS |
|
||||
@ -394,11 +394,11 @@ worker_spi_launch(PG_FUNCTION_ARGS)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_INSUFFICIENT_RESOURCES),
|
||||
errmsg("could not start background process"),
|
||||
errhint("More details may be available in the server log.")));
|
||||
errhint("More details may be available in the server log.")));
|
||||
if (status == BGWH_POSTMASTER_DIED)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_INSUFFICIENT_RESOURCES),
|
||||
errmsg("cannot start background processes without postmaster"),
|
||||
errmsg("cannot start background processes without postmaster"),
|
||||
errhint("Kill all remaining database processes and restart the database.")));
|
||||
Assert(status == BGWH_STARTED);
|
||||
|
||||
|
Reference in New Issue
Block a user