On Sat, Jun 3, 2023 at 9:41 AM Don Seiler <don(at)seiler(dot)us> wrote:
> On Sat, Jun 3, 2023, 02:07 Christoph Berg <cb(at)df7cb(dot)de> wrote:
>
>>
>> You can configure it by creating the user before installing the package
>>
>
> Ok but otherwise the package will always use /var/lib/postgresql then if
> it is the one creating the user?
>
> Thanks,
> Don.
>
Correct.
https://salsa.debian.org/postgresql/postgresql-common/-/blob/master/debian/postgresql-common.postinst#L31-35
Aaron