Re: sequence generator programmatic invocation(preferably - Mailing list pgsql-novice

From Alberto Caso
Subject Re: sequence generator programmatic invocation(preferably
Date
Msg-id 1041181707.6935.10.camel@portege1
Whole thread Raw
List pgsql-novice
> Thanks,
>
> So it's just like an ordinary statement.
> What about setval? Is this the right way to invoke it:
> select setval('test', 1, false);

    Yes, it is right. Have a look at
http://www.postgresql.org/idocs/index.php?functions-sequence.html

    Regards,

--
Alberto Caso Palomino
Adaptia Soluciones Integrales
http://www.adaptia.net
alberto.caso@adaptia.net





pgsql-novice by date:

Previous
From: "Reshat Sabiq"
Date:
Subject: altering column length
Next
From: Alberto Caso
Date:
Subject: Re: altering column length