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

Commit768eaf1

Browse files
committed
Mention the actual stored size of NUMERIC values, per David Fetter.
1 parent628c089 commit768eaf1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

‎doc/src/sgml/datatype.sgml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/datatype.sgml,v 1.156 2005/03/13 09:36:30 neilc Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/datatype.sgml,v 1.157 2005/05/01 15:54:46 tgl Exp $
33
-->
44

55
<chapter id="datatype">
@@ -505,7 +505,9 @@ NUMERIC
505505
trailing zeroes. Thus, the declared precision and scale of a column
506506
are maximums, not fixed allocations. (In this sense the <type>numeric</>
507507
type is more akin to <type>varchar(<replaceable>n</>)</type>
508-
than to <type>char(<replaceable>n</>)</type>.)
508+
than to <type>char(<replaceable>n</>)</type>.) The actual storage
509+
requirement is two bytes for each group of four decimal digits,
510+
plus eight bytes overhead.
509511
</para>
510512

511513
<para>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp