Commit 8b05fab
Clemens Kofler
Fix: Clean up certain comments without names
I have lots of comments that look like this:
-- Name: id; Type: DEFAULT
-- Name: users_pkey; Type: CONSTRAINT
Based on the previous regexes, it looks like the code assumed that at least with certain Postgres versions there's something before the name. But that's not the case for my version (9.5.4). Since I assume this is necessary for some Postgres versions, I've just made the offending part optional.1 parent 92b9d71 commit 8b05fab
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
0 commit comments