sync ports with The Matrix
This commit is contained in:
parent
9d4d2e721a
commit
79bc6d9d97
846 changed files with 10693 additions and 8131 deletions
|
@ -9,6 +9,7 @@ VERSION= 15.4
|
|||
PREV_MAJOR= 14
|
||||
DISTNAME= postgresql-${VERSION}
|
||||
PKGNAME-main= postgresql-client-${VERSION}
|
||||
REVISION-server=0
|
||||
|
||||
DPB_PROPERTIES= parallel
|
||||
|
||||
|
|
31
databases/postgresql/patches/patch-src_bin_initdb_initdb_c
Normal file
31
databases/postgresql/patches/patch-src_bin_initdb_initdb_c
Normal 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);
|
||||
+ }
|
||||
}
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue