mirror of
https://github.com/postgres/postgres.git
synced 2026-03-25 11:56:13 -04:00
Fix typo
Mistake in commit e2f289e5b9: SOFT_ERROR_OCCURRED was called with the
wrong fcinfo field.
Reported-by: Jianghua Yang <yjhjstz@gmail.com>
Reviewed-by: Nathan Bossart <nathandbossart@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/CAAZLFmSGti716gWeY%3DDCZ9TTVOixnHZ4_4V4tDzoeE86D64vOA%40mail.gmail.com
This commit is contained in:
parent
6b5b7eae3a
commit
c79e414127
1 changed files with 1 additions and 1 deletions
|
|
@ -1402,7 +1402,7 @@ timestamptz_date(PG_FUNCTION_ARGS)
|
|||
DateADT result;
|
||||
|
||||
result = timestamptz2date_safe(timestamp, fcinfo->context);
|
||||
if (SOFT_ERROR_OCCURRED(fcinfo->args))
|
||||
if (SOFT_ERROR_OCCURRED(fcinfo->context))
|
||||
PG_RETURN_NULL();
|
||||
|
||||
PG_RETURN_DATEADT(result);
|
||||
|
|
|
|||
Loading…
Reference in a new issue