Temporarily disable all indexes of a postgresql table
Disable temporarily and reenable table indexes can be useful to speed up a large insert or update query
Disable temporarily and reenable table indexes can be useful to speed up a large insert or update query
A simple way to reset and restart a broken PostgreSQL sequence.
As several friends have asked me this, I have posted my simple but quite useful .gitconfig file. Nothing special here, just a few aliases and some syntax highlighting :).
Who is not tired of committing a "Remove pdb" or a "Fix a typo" few minutes or hours after committing a clean feature ? A few time ago, I discovered two useful options in GIT that work together : git commit --fixup and git rebase --autosquash. With these, you can easily merge …