Skip to content

Instantly share code, notes, and snippets.

@xivSolutions
Created March 13, 2014 02:25
Show Gist options
  • Save xivSolutions/9520848 to your computer and use it in GitHub Desktop.
Save xivSolutions/9520848 to your computer and use it in GitHub Desktop.
PG Select Specific Serial Sequence
SELECT c.relname, c.relkind FROM pg_class c WHERE c.relkind = 'S' and relname = 'album_albumid_seq';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment