sync ports with The Matrix

This commit is contained in:
purplerain 2023-09-14 00:49:35 +00:00
parent 9d4d2e721a
commit 79bc6d9d97
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
846 changed files with 10693 additions and 8131 deletions

View file

@ -9,6 +9,7 @@ VERSION= 15.4
PREV_MAJOR= 14
DISTNAME= postgresql-${VERSION}
PKGNAME-main= postgresql-client-${VERSION}
REVISION-server=0
DPB_PROPERTIES= parallel

View file

@ -0,0 +1,31 @@
Use rcctl in initdb instructions if using the path that the rc.d
script handles.
Index: src/bin/initdb/initdb.c
--- src/bin/initdb/initdb.c.orig
+++ src/bin/initdb/initdb.c
@@ -3152,6 +3152,16 @@ main(int argc, char *argv[])
if (!noinstructions)
{
+ if (strcmp(pgdata_native, "/var/postgresql/data") == 0)
+ {
+ printf("\nSuccess. You can now start the database server using:\n\n"
+ " rcctl start postgresql\n\n"
+ "To start the PostgreSQL server automatically at boot:\n\n"
+ " rcctl enable postgresql\n\n"
+ );
+ }
+ else
+ {
/*
* Build up a shell command to tell the user how to start the server
*/
@@ -3183,6 +3193,7 @@ main(int argc, char *argv[])
start_db_cmd->data);
destroyPQExpBuffer(start_db_cmd);
+ }
}