Re: broken formatting?

2023-02-25 Thread Pavel Stehule
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

Re: broken formatting?

2023-02-25 Thread Tom Lane
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

Re: broken formatting?

2023-02-25 Thread Pavel Stehule
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? > >

Re: broken formatting?

2023-02-25 Thread Tom Lane
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

broken formatting?

2023-02-25 Thread Pavel Stehule
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