Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4a6286f

Browse files
committed
doc: add function argument and query parameter limits
Also reorder entries and add commas.Reported-by: David G. JohnstonDiscussion:https://postgr.es/m/CAKFQuwYeNPxeocV3_0+Zx=_Xwvg+sNyEMdzyG5s2E2e0hZLQhg@mail.gmail.comAuthor: David G. Johnston (partial)Backpatch-through: 12
1 parent989adac commit4a6286f

File tree

1 file changed

+27
-15
lines changed

1 file changed

+27
-15
lines changed

‎doc/src/sgml/limits.sgml

Lines changed: 27 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,14 @@
5757

5858
<row>
5959
<entry>columns per table</entry>
60-
<entry>1600</entry>
60+
<entry>1,600</entry>
6161
<entry>further limited by tuple size fitting on a single page; see note
6262
below</entry>
6363
</row>
6464

6565
<row>
6666
<entry>columns in a result set</entry>
67-
<entry>1664</entry>
67+
<entry>1,664</entry>
6868
<entry></entry>
6969
</row>
7070

@@ -74,12 +74,6 @@
7474
<entry></entry>
7575
</row>
7676

77-
<row>
78-
<entry>identifier length</entry>
79-
<entry>63 bytes</entry>
80-
<entry>can be increased by recompiling <productname>PostgreSQL</productname></entry>
81-
</row>
82-
8377
<row>
8478
<entry>indexes per table</entry>
8579
<entry>unlimited</entry>
@@ -92,21 +86,39 @@
9286
<entry>can be increased by recompiling <productname>PostgreSQL</productname></entry>
9387
</row>
9488

95-
<row>
96-
<entry>partition keys</entry>
97-
<entry>32</entry>
98-
<entry>can be increased by recompiling <productname>PostgreSQL</productname></entry>
99-
</row>
89+
<row>
90+
<entry>partition keys</entry>
91+
<entry>32</entry>
92+
<entry>can be increased by recompiling <productname>PostgreSQL</productname></entry>
93+
</row>
94+
95+
<row>
96+
<entry>identifier length</entry>
97+
<entry>63 bytes</entry>
98+
<entry>can be increased by recompiling <productname>PostgreSQL</productname></entry>
99+
</row>
100+
101+
<row>
102+
<entry>function arguments</entry>
103+
<entry>100</entry>
104+
<entry>can be increased by recompiling <productname>PostgreSQL</productname></entry>
105+
</row>
106+
107+
<row>
108+
<entry>query parameters</entry>
109+
<entry>65,535</entry>
110+
<entry></entry>
111+
</row>
100112
</tbody>
101113
</tgroup>
102114
</table>
103115

104116
<para>
105117
The maximum number of columns for a table is further reduced as the tuple
106118
being stored must fit in a single 8192-byte heap page. For example,
107-
excluding the tuple header, a tuple made up of1600 <type>int</type> columns
119+
excluding the tuple header, a tuple made up of1,600 <type>int</type> columns
108120
would consume 6400 bytes and could be stored in a heap page, but a tuple of
109-
1600 <type>bigint</type> columns would consume 12800 bytes and would
121+
1,600 <type>bigint</type> columns would consume 12800 bytes and would
110122
therefore not fit inside a heap page.
111123
Variable-length fields of
112124
types such as <type>text</type>, <type>varchar</type>, and <type>char</type>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp