From 4a6286fd939e84b894f074586e522b7102fc53c5 Mon Sep 17 00:00:00 2001
From: Bruce Momjian
Date: Tue, 31 Oct 2023 09:23:09 -0400
Subject: doc: add function argument and query parameter limits
Also reorder entries and add commas.
Reported-by: David G. Johnston
Discussion: https://postgr.es/m/CAKFQuwYeNPxeocV3_0+Zx=_Xwvg+sNyEMdzyG5s2E2e0hZLQhg@mail.gmail.com
Author: David G. Johnston (partial)
Backpatch-through: 12
---
doc/src/sgml/limits.sgml | 42 +++++++++++++++++++++++++++---------------
1 file changed, 27 insertions(+), 15 deletions(-)
diff --git a/doc/src/sgml/limits.sgml b/doc/src/sgml/limits.sgml
index d5b2b627ddf..c549447013f 100644
--- a/doc/src/sgml/limits.sgml
+++ b/doc/src/sgml/limits.sgml
@@ -57,14 +57,14 @@
columns per table
- 1600
+ 1,600
further limited by tuple size fitting on a single page; see note
below
columns in a result set
- 1664
+ 1,664
@@ -74,12 +74,6 @@
-
- identifier length
- 63 bytes
- can be increased by recompiling PostgreSQL
-
-
indexes per table
unlimited
@@ -92,11 +86,29 @@
can be increased by recompiling PostgreSQL
-
- partition keys
- 32
- can be increased by recompiling PostgreSQL
-
+
+ partition keys
+ 32
+ can be increased by recompiling PostgreSQL
+
+
+
+ identifier length
+ 63 bytes
+ can be increased by recompiling PostgreSQL
+
+
+
+ function arguments
+ 100
+ can be increased by recompiling PostgreSQL
+
+
+
+ query parameters
+ 65,535
+
+
@@ -104,9 +116,9 @@
The maximum number of columns for a table is further reduced as the tuple
being stored must fit in a single 8192-byte heap page. For example,
- excluding the tuple header, a tuple made up of 1600 int columns
+ excluding the tuple header, a tuple made up of 1,600 int columns
would consume 6400 bytes and could be stored in a heap page, but a tuple of
- 1600 bigint columns would consume 12800 bytes and would
+ 1,600 bigint columns would consume 12800 bytes and would
therefore not fit inside a heap page.
Variable-length fields of
types such as text, varchar, and char
--
cgit v1.2.3