Greg,

2013/3/7 Greg Williamson <gwilliamso...@yahoo.com>:
>
>
> Graham --
(...)
> The colon (":") is not needed, just remove it. A pair of colons is used to 
> indicate a cast of a value; off hand I am not coming up with any use of a 
> colon in basic SQL.

This is psql-specific syntax; the colon should cause the value of the
psql variable 'content' to be interpreted; without it, the string
'content' would be inserted.

See:
http://www.postgresql.org/docs/current/interactive/app-psql.html#APP-PSQL-INTERPOLATION

Regards

Ian Barwick


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

Reply via email to