Skip to content

Commit e371807

Browse files
committed
fix auto review comments
1 parent 0484347 commit e371807

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

contrib/ivorysql_ora/src/datatype/oratimestamp.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,15 +214,15 @@ anytimestamp_typmodin(bool istz, ArrayType *ta)
214214
{
215215
ereport(WARNING,
216216
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
217-
errmsg("TIMESTAMP(%d)%s effective number of fractional seconds is 6,the part of excess is 0",
217+
errmsg("TIMESTAMP(%d)%s effective number of fractional seconds is 6, the part of excess is 0",
218218
*tl, (istz ? " WITH TIME ZONE" : ""))));
219219
typmod = *tl;
220220
}
221221
else if (*tl > ORACLE_MAX_TIMESTAMP_PRECISION)
222222
{
223223
ereport(ERROR,
224224
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
225-
errmsg("the precision of datetime out of rang")));
225+
errmsg("the precision of datetime out of range")));
226226
}
227227
else
228228
typmod = *tl;

contrib/ivorysql_ora/src/datatype/oratimestampltz.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,15 +126,15 @@ anytimestamp_typmodin(bool istz, ArrayType *ta)
126126
{
127127
ereport(WARNING,
128128
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
129-
errmsg("TIMESTAMP(%d)%s effective number of fractional seconds is 6,the part of excess is 0",
129+
errmsg("TIMESTAMP(%d)%s effective number of fractional seconds is 6, the part of excess is 0",
130130
*tl, (istz ? " WITH TIME ZONE" : ""))));
131131
typmod = *tl;
132132
}
133133
else if (*tl > ORACLE_MAX_TIMESTAMP_PRECISION)
134134
{
135135
ereport(ERROR,
136136
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
137-
errmsg("the precision of datetime out of rang")));
137+
errmsg("the precision of datetime out of range")));
138138
}
139139
else
140140
typmod = *tl;

contrib/ivorysql_ora/src/datatype/oratimestamptz.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,15 +126,15 @@ anytimestamp_typmodin(bool istz, ArrayType *ta)
126126
{
127127
ereport(WARNING,
128128
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
129-
errmsg("TIMESTAMP(%d)%s effective number of fractional seconds is 6,the part of excess is 0",
129+
errmsg("TIMESTAMP(%d)%s effective number of fractional seconds is 6, the part of excess is 0",
130130
*tl, (istz ? " WITH TIME ZONE" : ""))));
131131
typmod = *tl;
132132
}
133133
else if (*tl > ORACLE_MAX_TIMESTAMP_PRECISION)
134134
{
135135
ereport(ERROR,
136136
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
137-
errmsg("the precision of datetime out of rang")));
137+
errmsg("the precision of datetime out of range")));
138138
}
139139
else
140140
typmod = *tl;

0 commit comments

Comments
 (0)