diff options
author | Michael Paquier | 2019-07-08 04:15:09 +0000 |
---|---|---|
committer | Michael Paquier | 2019-07-08 04:15:09 +0000 |
commit | 6b8548964bccd0f2e65c687d591b7345d5146bfa (patch) | |
tree | 29cddb4e0aa0bc59b02850daf6f508394f8f0ec1 /doc/src | |
parent | 7e9a4c5c3dca0d9637812d8991e96fc8f46800d9 (diff) |
Fix inconsistencies in the code
This addresses a couple of issues in the code:
- Typos and inconsistencies in comments and function declarations.
- Removal of unreferenced function declarations.
- Removal of unnecessary compile flags.
- A cleanup error in regressplans.sh.
Author: Alexander Lakhin
Discussion: https://postgr.es/m/0c991fdf-2670-1997-c027-772a420c4604@gmail.com
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/catalogs.sgml | 2 | ||||
-rw-r--r-- | doc/src/sgml/gist.sgml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/sgml/catalogs.sgml b/doc/src/sgml/catalogs.sgml index 09690b6c76b..3428a7c0fa7 100644 --- a/doc/src/sgml/catalogs.sgml +++ b/doc/src/sgml/catalogs.sgml @@ -11036,7 +11036,7 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx <entry><structfield>kinds</structfield></entry> <entry><type>text[]</type></entry> <entry></entry> - <entry>Types of exdended statistics enabled for this record</entry> + <entry>Types of extended statistics enabled for this record</entry> </row> <row> diff --git a/doc/src/sgml/gist.sgml b/doc/src/sgml/gist.sgml index 44a3b2c03c5..763b8cf7fda 100644 --- a/doc/src/sgml/gist.sgml +++ b/doc/src/sgml/gist.sgml @@ -910,7 +910,7 @@ Datum my_fetch(PG_FUNCTION_ARGS) { GISTENTRY *entry = (GISTENTRY *) PG_GETARG_POINTER(0); - input_data_type *in = DatumGetP(entry->key); + input_data_type *in = DatumGetPointer(entry->key); fetched_data_type *fetched_data; GISTENTRY *retval; |