From cbafa7c383c994d29ca38fd2f2cb9cfa8606e1ee Mon Sep 17 00:00:00 2001 From: kommih 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 pg_am 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 . + Currently, only tables, index and materialized views have access methods. + The requirements for access methods are discussed in detail in . 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 name This clause specifies the type of access method to define. - Only INDEX is supported at present. + Only INDEX and TABLE + are supported at present. @@ -76,9 +77,12 @@ CREATE ACCESS METHOD name declared to take a single argument of type internal, and its return type depends on the type of access method; for INDEX access methods, it must - be index_am_handler. 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 . + be index_am_handler and for TABLE + access methods, it must be table_am_handler. + 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 and the table access method + API is described in . -- 2.20.1.windows.1