Re: [HACKERS] Put json type into alphabetical order in manual table

2013-11-27 Thread Peter Eisentraut
Fixed.



-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


[HACKERS] Put json type into alphabetical order in manual table

2013-11-25 Thread Andreas Karlsson

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?


--
Andreas Karlsson
diff --git a/doc/src/sgml/datatype.sgml b/doc/src/sgml/datatype.sgml
new file mode 100644
index dea5195..fb9c41a
*** a/doc/src/sgml/datatype.sgml
--- b/doc/src/sgml/datatype.sgml
***
*** 137,142 
--- 137,148 
/row
  
row
+entrytypejson/type/entry
+entry/entry
+entryJSON data/entry
+   /row
+ 
+   row
 entrytypeline/type/entry
 entry/entry
 entryinfinite line on a plane/entry
***
*** 269,280 
 entry/entry
 entryXML data/entry
/row
- 
-   row
-entrytypejson/type/entry
-entry/entry
-entryJSON 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


Re: [HACKERS] Put json type into alphabetical order in manual table

2013-11-25 Thread Merlin Moncure
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.

merlin


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


Re: [HACKERS] Put json type into alphabetical order in manual table

2013-11-25 Thread Andreas Karlsson

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
-entrytypecharacter varying [ (replaceablen/replaceable) ]/type/entry
-entrytypevarchar [ (replaceablen/replaceable) ]/type/entry
-entryvariable-length character string/entry
-   /row
- 
-   row
 entrytypecharacter [ (replaceablen/replaceable) ]/type/entry
 entrytypechar [ (replaceablen/replaceable) ]/type/entry
 entryfixed-length character string/entry
/row
  
row
 entrytypecidr/type/entry
 entry/entry
 entryIPv4 or IPv6 network address/entry
--- 83,100 
/row
  
row
 entrytypecharacter [ (replaceablen/replaceable) ]/type/entry
 entrytypechar [ (replaceablen/replaceable) ]/type/entry
 entryfixed-length character string/entry
/row
  
row
+entrytypecharacter varying [ (replaceablen/replaceable) ]/type/entry
+entrytypevarchar [ (replaceablen/replaceable) ]/type/entry
+entryvariable-length character string/entry
+   /row
+ 
+   row
 entrytypecidr/type/entry
 entry/entry
 entryIPv4 or IPv6 network address/entry
***
*** 137,142 
--- 137,148 
/row
  
row
+entrytypejson/type/entry
+entry/entry
+entryJSON data/entry
+   /row
+ 
+   row
 entrytypeline/type/entry
 entry/entry
 entryinfinite line on a plane/entry
***
*** 269,280 
 entry/entry
 entryXML data/entry
/row
- 
-   row
-entrytypejson/type/entry
-entry/entry
-entryJSON 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