This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Reset all sequences to MAX(column) value | |
DO | |
$$ | |
DECLARE | |
rec RECORD; | |
idd integer; | |
BEGIN | |
FOR rec IN | |
SELECT S.relname AS seqname, C.attname AS colname, T.relname AS tblname | |
FROM pg_class AS S, pg_depend AS D, pg_class AS T, pg_attribute AS C |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language:python filename:setup.py filename:requirements.txt filename:Pipfile filename:pyproject.toml anyio |