Skip to content

Commit

Permalink
sql: fix typo in warning on using DateStyle/IntervalStyle
Browse files Browse the repository at this point in the history
Release note (sql change): Fixed a small typo when using DateStyle and
IntervalStyle.
  • Loading branch information
otan committed May 19, 2022
1 parent a35b848 commit 3cd070a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/sql/vars.go
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ var varGen = map[string]sessionVar{
"Setting DateStyle changes the volatility of timestamp/timestamptz/date::string "+
"and string::timestamp/timestamptz/date/time/timetz casts from immutable to stable. "+
"No computed columns, partial indexes, partitions and check constraints can "+
"use this casts. "+
"use these casts. "+
"Use to_char_with_style or parse_{timestamp,timestamptz,date,time,timetz} "+
"instead if you need these casts to work in the aforementioned cases.",
)
Expand Down Expand Up @@ -973,7 +973,7 @@ var varGen = map[string]sessionVar{
),
"Setting IntervalStyle changes the volatility of string::interval or interval::string "+
"casts from immutable to stable. No computed columns, partial indexes, partitions "+
"and check constraints can use this casts. "+
"and check constraints can use these casts. "+
"Use to_char_with_style or parse_interval instead if you need these casts to work "+
"in the aforementioned cases.",
)
Expand Down

0 comments on commit 3cd070a

Please sign in to comment.