Mega Code Archive

 
Categories / PostgreSQL / Array
 

Array Input and Output Syntax

postgres=# postgres=# -- Array Input and Output Syntax postgres=# SELECT 1 || ARRAY[2,3] AS array;      array ---------------  [0:2]={1,2,3} (1 row) postgres=# postgres=#