HUGE fan of MLB and WFTDA, and pretty much not interested in any other sport.
he/him by default but will happily answer to anything.
A cheeseburger in paradise. #IYKYK
CREATE TABLE t (col INTEGER ARRAY[0]);
Now I have a column that only accepts ARRAY[]. I can't put anything else in it.
CREATE TABLE t (col INTEGER ARRAY[0]);
Now I have a column that only accepts ARRAY[]. I can't put anything else in it.
For example, the box type uses ';' instead of ',' and any custom type can choose their own.
For example, the box type uses ';' instead of ',' and any custom type can choose their own.
#PostgreSQLQuirks
#PostgreSQLQuirks
VALUES ((CAST('[-1:1]={1,2,3}' AS INTEGER ARRAY))[0])
=> 2
VALUES ((CAST('[-1:1]={1,2,3}' AS INTEGER ARRAY))[0])
=> 2