]> granicus.if.org Git - postgresql/commitdiff
Add intset() to README
authorTeodor Sigaev <teodor@sigaev.ru>
Thu, 27 Jan 2005 14:14:01 +0000 (14:14 +0000)
committerTeodor Sigaev <teodor@sigaev.ru>
Thu, 27 Jan 2005 14:14:01 +0000 (14:14 +0000)
contrib/intarray/README.intarray

index a1ffef1e4a868b4e8ad9827c2b0e4be2265b790b..f850deebcea2391bd5dfe79d53af6a62ec56eb61 100644 (file)
@@ -60,6 +60,13 @@ test=# select subarray('{1,2,3,2,1}'::int[],2,3);
  {2,3,2}
 (1 row)
 
+  int[] intset(int4) - casting int4 to int[]
+
+test=# select intset(1);
+ intset 
+--------
+ {1}
+(1 row)
 
 OPERATIONS: