so 25. 2. 2023 v 18:13 odesílatel Tom Lane napsal:
> Pavel Stehule writes:
> > so 25. 2. 2023 v 17:57 odesílatel Tom Lane napsal:
> >> Pavel Stehule writes:
> >>> -numeric(PG_FUNCTION_ARGS)
> >>> +numeric(PG_FUNCTION_ARGS)
>
> >> Sadly, pgindent will just put that back, because it know
Pavel Stehule writes:
> so 25. 2. 2023 v 17:57 odesílatel Tom Lane napsal:
>> Pavel Stehule writes:
>>> -numeric(PG_FUNCTION_ARGS)
>>> +numeric(PG_FUNCTION_ARGS)
>> Sadly, pgindent will just put that back, because it knows that "numeric"
>> is a typedef.
> Is it possible to rename this
so 25. 2. 2023 v 17:57 odesílatel Tom Lane napsal:
> Pavel Stehule writes:
> > -numeric(PG_FUNCTION_ARGS)
> > +numeric(PG_FUNCTION_ARGS)
>
> Sadly, pgindent will just put that back, because it knows that "numeric"
> is a typedef.
>
Is it possible to rename this function?
>
>
Pavel Stehule writes:
> -numeric(PG_FUNCTION_ARGS)
> +numeric(PG_FUNCTION_ARGS)
Sadly, pgindent will just put that back, because it knows that "numeric"
is a typedef.
regards, tom lane
Hi
diff --git a/src/backend/utils/adt/numeric.c
b/src/backend/utils/adt/numeric.c
index a83feea396..12c6548675 100644
--- a/src/backend/utils/adt/numeric.c
+++ b/src/backend/utils/adt/numeric.c
@@ -1233,7 +1233,7 @@ numeric_support(PG_FUNCTION_ARGS)
* scale of the attribute have to be applied on