mirror of
https://github.com/postgres/postgres.git
synced 2025-05-06 19:59:18 +03:00
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
This commit is contained in:
parent
cbf6c07f4f
commit
a1e2107862
@ -57,14 +57,14 @@
|
|||||||
|
|
||||||
<row>
|
<row>
|
||||||
<entry>columns per table</entry>
|
<entry>columns per table</entry>
|
||||||
<entry>1600</entry>
|
<entry>1,600</entry>
|
||||||
<entry>further limited by tuple size fitting on a single page; see note
|
<entry>further limited by tuple size fitting on a single page; see note
|
||||||
below</entry>
|
below</entry>
|
||||||
</row>
|
</row>
|
||||||
|
|
||||||
<row>
|
<row>
|
||||||
<entry>columns in a result set</entry>
|
<entry>columns in a result set</entry>
|
||||||
<entry>1664</entry>
|
<entry>1,664</entry>
|
||||||
<entry></entry>
|
<entry></entry>
|
||||||
</row>
|
</row>
|
||||||
|
|
||||||
@ -74,12 +74,6 @@
|
|||||||
<entry></entry>
|
<entry></entry>
|
||||||
</row>
|
</row>
|
||||||
|
|
||||||
<row>
|
|
||||||
<entry>identifier length</entry>
|
|
||||||
<entry>63 bytes</entry>
|
|
||||||
<entry>can be increased by recompiling <productname>PostgreSQL</productname></entry>
|
|
||||||
</row>
|
|
||||||
|
|
||||||
<row>
|
<row>
|
||||||
<entry>indexes per table</entry>
|
<entry>indexes per table</entry>
|
||||||
<entry>unlimited</entry>
|
<entry>unlimited</entry>
|
||||||
@ -97,6 +91,24 @@
|
|||||||
<entry>32</entry>
|
<entry>32</entry>
|
||||||
<entry>can be increased by recompiling <productname>PostgreSQL</productname></entry>
|
<entry>can be increased by recompiling <productname>PostgreSQL</productname></entry>
|
||||||
</row>
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<entry>identifier length</entry>
|
||||||
|
<entry>63 bytes</entry>
|
||||||
|
<entry>can be increased by recompiling <productname>PostgreSQL</productname></entry>
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<entry>function arguments</entry>
|
||||||
|
<entry>100</entry>
|
||||||
|
<entry>can be increased by recompiling <productname>PostgreSQL</productname></entry>
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<entry>query parameters</entry>
|
||||||
|
<entry>65,535</entry>
|
||||||
|
<entry></entry>
|
||||||
|
</row>
|
||||||
</tbody>
|
</tbody>
|
||||||
</tgroup>
|
</tgroup>
|
||||||
</table>
|
</table>
|
||||||
@ -104,9 +116,9 @@
|
|||||||
<para>
|
<para>
|
||||||
The maximum number of columns for a table is further reduced as the tuple
|
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,
|
being stored must fit in a single 8192-byte heap page. For example,
|
||||||
excluding the tuple header, a tuple made up of 1600 <type>int</type> columns
|
excluding the tuple header, a tuple made up of 1,600 <type>int</type> columns
|
||||||
would consume 6400 bytes and could be stored in a heap page, but a tuple of
|
would consume 6400 bytes and could be stored in a heap page, but a tuple of
|
||||||
1600 <type>bigint</type> columns would consume 12800 bytes and would
|
1,600 <type>bigint</type> columns would consume 12800 bytes and would
|
||||||
therefore not fit inside a heap page.
|
therefore not fit inside a heap page.
|
||||||
Variable-length fields of
|
Variable-length fields of
|
||||||
types such as <type>text</type>, <type>varchar</type>, and <type>char</type>
|
types such as <type>text</type>, <type>varchar</type>, and <type>char</type>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user