Skip to content

Commit cf3e076

Browse files
authored
Merge pull request #350 from chegong18/master
commit the translation of indexam.sgml,indices.sgml and information_schema.sgml
2 parents 32e60e2 + 4a42b7c commit cf3e076

File tree

3 files changed

+8406
-5357
lines changed

3 files changed

+8406
-5357
lines changed

postgresql/doc/src/sgml/indexam.sgml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,8 @@ typedef struct IndexAmRoutine
216216
uint16 amstrategies;
217217
/* total number of support functions that this AM uses */
218218
uint16 amsupport;
219+
/* opclass options support function number or 0 */
220+
uint16 amoptsprocnum;
219221
/* does AM support ORDER BY indexed column's value? */
220222
bool amcanorder;
221223
/* does AM support ORDER BY result of an operator on indexed column? */
@@ -242,6 +244,10 @@ typedef struct IndexAmRoutine
242244
bool amcanparallel;
243245
/* does AM support columns included with clause INCLUDE? */
244246
bool amcaninclude;
247+
/* does AM use maintenance_work_mem? */
248+
bool amusemaintenanceworkmem;
249+
/* OR of parallel vacuum flags */
250+
uint8 amparallelvacuumoptions;
245251
/* type of data stored in index, or InvalidOid if variable */
246252
Oid amkeytype;
247253

@@ -690,7 +696,7 @@ amoptions (ArrayType *reloptions,
690696
</programlisting>
691697
分析和验证一个索引的 reloptions 数组。仅当一个索引存在非空 reloptions 数组时才会被调用。<parameter>reloptions</parameter>是一个<type>text</type>数组,包含<replaceable>name</replaceable><literal>=</literal><replaceable>value</replaceable>形式的项。 该函数应当构建一个<type>bytea</type>值,该值将被拷贝进索引的 relcache 项的<structfield>rd_options</structfield>域。<type>bytea</type>值的数据内容是开放由访问方法定义的, 大部分的标准访问方法都使用<structname>StdRdOptions</structname>结构。当<parameter>validate</parameter>为真时,如果任何一个选项都不可识别或者含有非法值,该函数都应当报告一个适当的错误消息;当<parameter>validate</parameter>为假时,非法 项应该被安静地忽略(当正在载入的选项已经在<structname>pg_catalog</structname>中时, <parameter>validate</parameter>为假;仅在访问方法已经改变了选项的规则时才可能找 到非法项,并且在此情况下忽略废弃的项是合适的)。如果想要默认行为,那么返回 NULL 也 OK。
692698
</para>
693-
699+
694700
<!--==========================orignal english content==========================
695701
<para>
696702
<programlisting>
@@ -1031,7 +1037,7 @@ ammarkpos (IndexScanDesc scan);
10311037
</programlisting>
10321038
标记当前扫描位置。访问方法只需要支持每个扫描里面有一个被标记的扫描位置。
10331039
</para>
1034-
1040+
10351041
<!--==========================orignal english content==========================
10361042
<para>
10371043
The <function>ammarkpos</function> function need only be provided if the access

0 commit comments

Comments
 (0)