Re: pgindent run

Поиск
Список
Период
Сортировка
От David Rowley
Тема Re: pgindent run
Дата
Msg-id CAApHDvroSMY2Kva-kQqFB+1dCbLTGu5L9eyeSr20dv87eA4wHQ@mail.gmail.com
обсуждение исходный текст
Ответ на pgindent run  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: pgindent run  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
On Tue, 29 Jun 2021 at 00:29, Andrew Dunstan <andrew@dunslane.net> wrote:
> Here's the diff from a pgindent run.

--- a/src/backend/commands/policy.c
+++ b/src/backend/commands/policy.c
@@ -587,65 +587,65 @@ RemoveRoleFromObjectPolicy(Oid roleid, Oid
classid, Oid policy_id)
  /* If any roles remain, update the policy entry. */
  if (num_roles > 0)
  {
- /* This is the array for the new tuple */
- role_ids = construct_array(role_oids, num_roles, OIDOID,
-    sizeof(Oid), true, TYPALIGN_INT);
+ /* This is the array for the new tuple */
+ role_ids = construct_array(role_oids, num_roles, OIDOID,
+    sizeof(Oid), true, TYPALIGN_INT);

I wasn't too sure about the status of this one. Michael did mention it
in [1], but Tom mentioned that was on purpose to ease backpatching.
I'm not too clear on if Tom intended it should stay unindented until
"rewriting that whole function in a little bit".

David

[1] https://www.postgresql.org/message-id/YM0puvBnbBIZxJt2@paquier.xyz



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: What is "wraparound failure", really?
Следующее
От: Boris Kolpackov
Дата:
Сообщение: Re: Pipeline mode and PQpipelineSync()