On 11/25/2013 11:52 PM, Merlin Moncure wrote:
On Mon, Nov 25, 2013 at 3:07 PM, Andreas Karlsson <andr...@proxel.se> wrote:
Hi,
When looking at table 8-1 at
http://www.postgresql.org/docs/9.3/static/datatype.html i noticed that all
types except for json was in alphabetical order. I have attached a patch
which fixes this.
By the way should character and character varying be swapped in that table
too?
I would.
Ok, I have attached a patch which fixes that too.
--
Andreas Karlsson
diff --git a/doc/src/sgml/datatype.sgml b/doc/src/sgml/datatype.sgml
new file mode 100644
index dea5195..0386330
*** a/doc/src/sgml/datatype.sgml
--- b/doc/src/sgml/datatype.sgml
***************
*** 83,100 ****
</row>
<row>
- <entry><type>character varying [ (<replaceable>n</replaceable>) ]</type></entry>
- <entry><type>varchar [ (<replaceable>n</replaceable>) ]</type></entry>
- <entry>variable-length character string</entry>
- </row>
-
- <row>
<entry><type>character [ (<replaceable>n</replaceable>) ]</type></entry>
<entry><type>char [ (<replaceable>n</replaceable>) ]</type></entry>
<entry>fixed-length character string</entry>
</row>
<row>
<entry><type>cidr</type></entry>
<entry></entry>
<entry>IPv4 or IPv6 network address</entry>
--- 83,100 ----
</row>
<row>
<entry><type>character [ (<replaceable>n</replaceable>) ]</type></entry>
<entry><type>char [ (<replaceable>n</replaceable>) ]</type></entry>
<entry>fixed-length character string</entry>
</row>
<row>
+ <entry><type>character varying [ (<replaceable>n</replaceable>) ]</type></entry>
+ <entry><type>varchar [ (<replaceable>n</replaceable>) ]</type></entry>
+ <entry>variable-length character string</entry>
+ </row>
+
+ <row>
<entry><type>cidr</type></entry>
<entry></entry>
<entry>IPv4 or IPv6 network address</entry>
***************
*** 137,142 ****
--- 137,148 ----
</row>
<row>
+ <entry><type>json</type></entry>
+ <entry></entry>
+ <entry>JSON data</entry>
+ </row>
+
+ <row>
<entry><type>line</type></entry>
<entry></entry>
<entry>infinite line on a plane</entry>
***************
*** 269,280 ****
<entry></entry>
<entry>XML data</entry>
</row>
-
- <row>
- <entry><type>json</type></entry>
- <entry></entry>
- <entry>JSON data</entry>
- </row>
</tbody>
</tgroup>
</table>
--- 275,280 ----
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers