> Is this construct documented anywhere?
http://www.postgresql.org/docs/current/static/functions-comparisons.html > SELECT ?::int[]
>
>Is this specifying a type for the PreparedStatement parameter? If not,
>what is it doing?
>
>And again, is there any documentation of this syntax?
it's just casting to int[] (slightly different idea than specifying it as a type, but not a terribly important distinction here). That particular syntax is noted under CREATE CAST (
http://www.postgresql.org/docs/current/static/sql-createcast.html ); not sure if casting in general has its own separate section.
---
Maciek Sakrejda | System Architect | Truviso
1065 E. Hillsdale Blvd., Suite 215
Foster City, CA 94404
(650) 242-3500 Main
www.truviso.com