Re: Hint to set owner for tablespace directory

Поиск
Список
Период
Сортировка
От Rafia Sabih
Тема Re: Hint to set owner for tablespace directory
Дата
Msg-id CAOGQiiOZ4T22BmhGzgXOwP_VNcXUwM2=4ODmZqWvSyyYEbnLmQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Hint to set owner for tablespace directory  (Maksim Milyutin <milyutinma@gmail.com>)
Список pgsql-hackers


On Fri, Aug 31, 2018 at 4:11 PM, Maksim Milyutin <milyutinma@gmail.com> wrote:

On 08/31/2018 01:12 PM, Rafia Sabih wrote:



On Fri, Aug 31, 2018 at 3:30 PM, Maksim Milyutin <milyutinma@gmail.com> wrote:

On 08/31/2018 11:55 AM, Rafia Sabih wrote:


Adding to that this patch needs a rebase. And, please don't forget to run 'git diff --check', as it has some white-space issues.

 git apply /home/edb/Desktop/patches/others/owner_tbsp_hint.patch
 /home/edb/Desktop/patches/others/owner_tbsp_hint.patch:9: trailing whitespace.
        {
/home/edb/Desktop/patches/others/owner_tbsp_hint.patch:10: trailing whitespace.
            bool wrong_owner = (errno == EPERM);

This is hex+ASCII display (from *hexdump -C owner_tbsp_hint.patch* output) of code fragment above:

000001a0  0a 20 09 09 65 6c 73 65  0a 2b 09 09 7b 0a 2b 09  |. ..else.+..{.+.|
000001b0  09 09 62 6f 6f 6c 20 77  72 6f 6e 67 5f 6f 77 6e  |..bool wrong_own|
000001c0  65 72 20 3d 20 28 65 72  72 6e 6f 20 3d 3d 20 45  |er = (errno == E|
000001d0  50 45 52 4d 29 3b 0a 2b  0a 20 09 09 09 65 72 65  |PERM);.+. ...ere|

Problem lines don't have trailing whitespaces, only line feed (0x0a) symbols

This is what I got. Please correct me if I am missng anything. I am using centos 7,  just an FYI.

My git version is 2.7.4.

I am using version 2.12.1, that might be the reason for the discrepancy.

--
Regards,
Rafia Sabih

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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: pg_verify_checksums failure with hash indexes
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: Adding a note to protocol.sgml regarding CopyData