projects
/
online_analyze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a3afc7d
)
fix typos
author
teodor
<teodor>
Mon, 3 Oct 2011 14:38:32 +0000
(14:38 +0000)
committer
teodor
<teodor>
Mon, 3 Oct 2011 14:38:32 +0000
(14:38 +0000)
README.online_analyze
patch
|
blob
|
history
online_analyze.c
patch
|
blob
|
history
diff --git
a/README.online_analyze
b/README.online_analyze
index
eb95307
..
e76b0f5
100644
(file)
--- a/
README.online_analyze
+++ b/
README.online_analyze
@@
-24,7
+24,7
@@
online_analyze.min_interval = 10000
Minimum time interval between analyze call per table (in milliseconds)
online_analyze.table_type = "all"
Minimum time interval between analyze call per table (in milliseconds)
online_analyze.table_type = "all"
- Type(s) of table for onl
y
ne analyze: all, persistent, temporary, none
+ Type(s) of table for onl
i
ne analyze: all, persistent, temporary, none
online_analyze.exclude_tables = ""
List of tables which will not online analyze
online_analyze.exclude_tables = ""
List of tables which will not online analyze
diff --git
a/online_analyze.c
b/online_analyze.c
index
47943c2
..
188e4db
100644
(file)
--- a/
online_analyze.c
+++ b/
online_analyze.c
@@
-56,7
+56,7
@@
typedef enum
OATT_PERSISTENT = 0x01,
OATT_TEMPORARY = 0x02,
OATT_NONE = 0x00
OATT_PERSISTENT = 0x01,
OATT_TEMPORARY = 0x02,
OATT_NONE = 0x00
-} Onl
y
neAnalyzeTableType;
+} Onl
i
neAnalyzeTableType;
static const struct config_enum_entry online_analyze_table_type_options[] =
{
static const struct config_enum_entry online_analyze_table_type_options[] =
{
@@
-335,7
+335,7
@@
makeAnalyze(Oid relOid, CmdType operation, uint32 naffected)
default:
{
Relation rel;
default:
{
Relation rel;
- Onl
y
neAnalyzeTableType reltype;
+ Onl
i
neAnalyzeTableType reltype;
rel = RelationIdGetRelation(relOid);
reltype =
rel = RelationIdGetRelation(relOid);
reltype =
@@
-569,7
+569,7
@@
_PG_init(void)
DefineCustomEnumVariable(
"online_analyze.table_type",
DefineCustomEnumVariable(
"online_analyze.table_type",
- "Type(s) of table for onl
y
ne analyze: all(default), persistent, temporary, none",
+ "Type(s) of table for onl
i
ne analyze: all(default), persistent, temporary, none",
NULL,
&online_analyze_table_type,
#if PG_VERSION_NUM >= 80400
NULL,
&online_analyze_table_type,
#if PG_VERSION_NUM >= 80400