Re:

From: zaidagilist <zaidagilist(at)gmail(dot)com>
To: Rajan Pandey <rajanpandey2508(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re:
Date: 2024-05-10 03:14:57
Message-ID: CAFS1Kf4QJVsc+f0-ZcyAEODT-xwUZxX5Jro-B+3dUpfACAUmYQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, May 9, 2024 at 2:50 PM Rajan Pandey <rajanpandey2508(at)gmail(dot)com> wrote:
>
> Hi everyone, I just installed Postgres and pg_tle extension as I was looking to contribute to pg_tle.
>
> Somehow, I am unable to update the shared_preload_libraries. It feels like ALTER has happened but the SPL value is not updated:
>>
>> test=# show shared_preload_libraries;
>> shared_preload_libraries
>> --------------------------
>>
>> (1 row)
>>
>> test=# ALTER SYSTEM SET shared_preload_libraries TO 'pg_tle';
>> ALTER SYSTEM
>> test=# SELECT pg_reload_conf();
>> pg_reload_conf
>> ----------------
>> t
>> (1 row)
>>
>> test=# show shared_preload_libraries;
>> shared_preload_libraries
>> --------------------------
>>
>> (1 row)
>>
>> test=#
>
>
> I'm unable to open the postgresql.conf file to update it either. I provided the correct macbook password above. But it is not accepted! :/
>>
>> rajanx(at)b0be835adb74 postgresql % cat /usr/local/pgsql/data/postgresql.auto.conf
>> cat: /usr/local/pgsql/data/postgresql.auto.conf: Permission denied
>>
>> rajanx(at)b0be835adb74 postgresql % su cat /usr/local/pgsql/data/postgresql.auto.conf
>> Password:
>> su: Sorry

It seems you're trying to use the su command to switch to another user
to read a file, but the su command is not the appropriate command for
this purpose on macOS.

If you want to read a file located in another user's directory, and
you have the necessary permissions to access that file, you can simply
use the cat command without su. Here's how you can do it:

>
>
> Please help! Thank you. :)
> --
> Regards
> Rajan Pandey

In response to

  • at 2024-05-09 09:50:36 from Rajan Pandey

Browse pgsql-hackers by date

  From Date Subject
Next Message Ryo Matsumura (Fujitsu) 2024-05-10 05:45:15 Re: Bug: PGTYPEStimestamp_from_asc() in ECPG pgtypelib
Previous Message Xing Guo 2024-05-10 02:58:33 Re: Set appropriate processing mode for auxiliary processes.