forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitabfd009
committed
pg_dump: Strict names with no matching schema
When using pg_dump --strict-names and a schema pattern which doesn'tmatch any schemas (eg: --schema='nonexistant*'), we were incorrectlythrowing an error claiming no tables were found when, really, therewere no schemas found: -> pg_dump --strict-names --schema='nonexistant*' pg_dump: no matching tables were found for pattern "nonexistant*"Fix that by changing the error message to say 'schemas' instead, sincethat is what we are actually complaining about.Noticed while testing pg_dump error cases.Back-patch to 9.6 where --strict-names and this error message wereintroduced.1 parent42f50cb commitabfd009
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1216 | 1216 |
| |
1217 | 1217 |
| |
1218 | 1218 |
| |
1219 |
| - | |
| 1219 | + | |
1220 | 1220 |
| |
1221 | 1221 |
| |
1222 | 1222 |
| |
|
0 commit comments
Comments
(0)