> On Nov 20, 2020, at 09:00, Sebastien FLAESCH <sf(at)4js(dot)com> wrote:
> test1=> perform setval('mytab1_pkey_seq',5000,false);
> ERROR: syntax error at or near "perform"
> LINE 1: perform setval('mytab1_pkey_seq',5000,false);
PERFORM is a PL/pgSQL operation, and can only be used within a PL/pgSQL function. For a direct call to PostgreSQL, SELECT is the right operation.
--
-- Christophe Pettus
xof(at)thebuild(dot)com