On 22/04/2019 18:49, Tom Lane wrote:
"Ray O'Donnell" <r...@rodonnell.ie> writes:
In general, then, is it not possible to use an expression thus? -

      [...] ALTER COLUMN [...] RESTART WITH <expression here>

No.  In general, PG's utility commands (everything except SELECT/
INSERT/UPDATE/DELETE) don't do expression evaluation.  Partly this
is laziness or lack of round tuits, but in some cases there are
also interesting semantic problems.

Fair enough. Thanks Tom, Adrian & Thomas for the help!

Ray.

--
Raymond O'Donnell // Galway // Ireland
r...@rodonnell.ie


Reply via email to