mirror of
https://github.com/postgres/postgres.git
synced 2025-07-05 07:21:24 +03:00
pgindent run before PG 9.1 beta 1.
This commit is contained in:
@ -95,7 +95,7 @@ static void compute_index_stats(Relation onerel, double totalrows,
|
||||
HeapTuple *rows, int numrows,
|
||||
MemoryContext col_context);
|
||||
static VacAttrStats *examine_attribute(Relation onerel, int attnum,
|
||||
Node *index_expr);
|
||||
Node *index_expr);
|
||||
static int acquire_sample_rows(Relation onerel, HeapTuple *rows,
|
||||
int targrows, double *totalrows, double *totaldeadrows);
|
||||
static double random_fract(void);
|
||||
@ -160,8 +160,8 @@ analyze_rel(Oid relid, VacuumStmt *vacstmt,
|
||||
if (IsAutoVacuumWorkerProcess() && Log_autovacuum_min_duration >= 0)
|
||||
ereport(LOG,
|
||||
(errcode(ERRCODE_LOCK_NOT_AVAILABLE),
|
||||
errmsg("skipping analyze of \"%s\" --- lock not available",
|
||||
vacstmt->relation->relname)));
|
||||
errmsg("skipping analyze of \"%s\" --- lock not available",
|
||||
vacstmt->relation->relname)));
|
||||
}
|
||||
if (!onerel)
|
||||
return;
|
||||
@ -853,10 +853,10 @@ examine_attribute(Relation onerel, int attnum, Node *index_expr)
|
||||
/*
|
||||
* When analyzing an expression index, believe the expression tree's type
|
||||
* not the column datatype --- the latter might be the opckeytype storage
|
||||
* type of the opclass, which is not interesting for our purposes. (Note:
|
||||
* type of the opclass, which is not interesting for our purposes. (Note:
|
||||
* if we did anything with non-expression index columns, we'd need to
|
||||
* figure out where to get the correct type info from, but for now that's
|
||||
* not a problem.) It's not clear whether anyone will care about the
|
||||
* not a problem.) It's not clear whether anyone will care about the
|
||||
* typmod, but we store that too just in case.
|
||||
*/
|
||||
if (index_expr)
|
||||
|
Reference in New Issue
Block a user