Created
December 2, 2015 01:35
-
-
Save killerswan/c2769366af3878e17f6b to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| /* | |
| * $ pg_dump --host=localhost --username=xyz db > db-2015-12-01.backup | |
| * $ psql --host=localhost --username=xyz db | |
| * | |
| * http://www.postgresql.org/docs/8.3/static/functions-matching.html | |
| */ | |
| \dt | |
| select * from ci_parameters where ci_parameters.key='tag' and ci_parameters.value ~ 'signed-';; | |
| update ci_parameters set value = regexp_replace(value, 'signed-', 'signed_') where value ~ 'signed-';; | |
| \q | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment