forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit1c07350
committed
Improve error message for misuse of TZ, tz, OF formatting patterns.
Be specific about which pattern is being complained of, and avoid saying"it's not supported in to_date", which is just confusing if the error isactually coming out of to_timestamp. We can phrase it as "is onlysupported in to_char", instead. Also, use the term "formatting field" not"format pattern", because other error messages in the same file prefer thatterminology. (This isn't terribly consistent with the documentation, somaybe we should change all these error messages?)1 parent10257fc commit1c07350
1 file changed
+3
-1
lines changedLines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3031 | 3031 |
| |
3032 | 3032 |
| |
3033 | 3033 |
| |
3034 |
| - | |
| 3034 | + | |
| 3035 | + | |
| 3036 | + | |
3035 | 3037 |
| |
3036 | 3038 |
| |
3037 | 3039 |
| |
|
0 commit comments
Comments
(0)