0006-Doc-update-of-Create-access-method-type-table.patch
application/octet-stream
Filename: 0006-Doc-update-of-Create-access-method-type-table.patch
Type: application/octet-stream
Part: 6
Patch
Format: format-patch
Series: patch 0006
Subject: Doc update of Create access method type table
| File | + | − |
|---|---|---|
| doc/src/sgml/catalogs.sgml | 2 | 2 |
| doc/src/sgml/ref/create_access_method.sgml | 8 | 4 |
From cbafa7c383c994d29ca38fd2f2cb9cfa8606e1ee Mon Sep 17 00:00:00 2001
From: kommih <haribabuk@fast.au.fujitsu.com>
Date: Thu, 7 Feb 2019 16:22:42 +1100
Subject: [PATCH 06/10] Doc update of Create access method type table
Create access method has added the support to create
table access methods also.
---
doc/src/sgml/catalogs.sgml | 4 ++--
doc/src/sgml/ref/create_access_method.sgml | 12 ++++++++----
2 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/doc/src/sgml/catalogs.sgml b/doc/src/sgml/catalogs.sgml
index 0fd792ff1a..21deba139c 100644
--- a/doc/src/sgml/catalogs.sgml
+++ b/doc/src/sgml/catalogs.sgml
@@ -587,8 +587,8 @@
The catalog <structname>pg_am</structname> stores information about
relation access methods. There is one row for each access method supported
by the system.
- Currently, only indexes have access methods. The requirements for index
- access methods are discussed in detail in <xref linkend="indexam"/>.
+ Currently, only tables, index and materialized views have access methods.
+ The requirements for access methods are discussed in detail in <xref linkend="am"/>.
</para>
<table>
diff --git a/doc/src/sgml/ref/create_access_method.sgml b/doc/src/sgml/ref/create_access_method.sgml
index 851c5e63be..256914022a 100644
--- a/doc/src/sgml/ref/create_access_method.sgml
+++ b/doc/src/sgml/ref/create_access_method.sgml
@@ -61,7 +61,8 @@ CREATE ACCESS METHOD <replaceable class="parameter">name</replaceable>
<listitem>
<para>
This clause specifies the type of access method to define.
- Only <literal>INDEX</literal> is supported at present.
+ Only <literal>INDEX</literal> and <literal>TABLE</literal>
+ are supported at present.
</para>
</listitem>
</varlistentry>
@@ -76,9 +77,12 @@ CREATE ACCESS METHOD <replaceable class="parameter">name</replaceable>
declared to take a single argument of type <type>internal</type>,
and its return type depends on the type of access method;
for <literal>INDEX</literal> access methods, it must
- be <type>index_am_handler</type>. The C-level API that the handler
- function must implement varies depending on the type of access method.
- The index access method API is described in <xref linkend="indexam"/>.
+ be <type>index_am_handler</type> and for <literal>TABLE</literal>
+ access methods, it must be <type>table_am_handler</type>.
+ The C-level API that the handler function must implement varies
+ depending on the type of access method. The index access method API
+ is described in <xref linkend="index-access-methods"/> and the table access method
+ API is described in <xref linkend="table-access-methods"/>.
</para>
</listitem>
</varlistentry>
--
2.20.1.windows.1