kubernetes-cli (v1.10.3) taken as example
- Downgrade Homebrew to the commit which upgrades the formula to the specific version that we want
$ cd "$(brew --repo homebrew/core)"
$ git log Formula/kubernetes-cli.rb
...
| CREATE OR REPLACE VIEW dbo.vwdependencies | |
| AS | |
| SELECT DISTINCT c_p.oid AS tbloid | |
| ,n_p.nspname AS schemaname | |
| ,c_p.relname AS NAME | |
| ,n_c.nspname AS refbyschemaname | |
| ,c_c.relname AS refbyname | |
| ,c_c.oid AS viewoid | |
| FROM pg_class c_p | |
| JOIN pg_depend d_p ON c_p.relfilenode = d_p.refobjid |