Function
dropsUserArgFromPrivilegeCheck
(funcName string, argCount int)
Source from the content-addressed store, hash-verified
| 677 | } |
| 678 | } |
| 679 | |
| 680 | func dropsUserArgFromPrivilegeCheck(funcName string, argCount int) bool { |
| 681 | if argCount != 3 { |
| 682 | return false |
| 683 | } |
| 684 | |
| 685 | switch funcName { |
| 686 | case "has_schema_privilege", "has_table_privilege", "has_any_column_privilege", "has_database_privilege": |
| 687 | return true |
| 688 | default: |
| 689 | return false |
| 690 | } |
| 691 | } |
| 692 | |
| 693 | func (t *PgCatalogTransform) walkSelectStmt(stmt *pg_query.SelectStmt, changed *bool) { |
Tested by
no test coverage detected