Comments (1)
Hi @Naveen-Kamagani!
Regarding your first question, we do not currently expose functionality for Postgres group creation via the PostgresCluster API. You can therefore leverage the init SQL for this.
As for your second question, the init SQL is intended to be run at cluster-bootstrap only. More specifically, the Database Initialization SQL docs recommend removing this setting post-cluster initialization:
Now that databaseInitSQL is defined in your cluster status, verify database objects have been created as expected. After verifying, we recommend removing the spec.databaseInitSQL field from your spec. Removing the field from the spec will also remove databaseInitSQL from the cluster status.
Therefore, this file is not intended to be updated or re-run post-cluster initialization.
from postgres-operator.
Related Issues (20)
- Documentation Bug - Missing Key HOT 2
- Create Openshift Service + Route on PGAdmin resource deployment HOT 1
- Recreate pgbackrest stanza after lost backrest-shared-repo storage, please help! HOT 2
- Postgres replicas bootstrap error at new deployment HOT 2
- How to enable debug mode in postgres HOT 4
- closed HOT 3
- Adding extension mysql_fdw to postgres-gis HOT 2
- How to limit or prevent the impact HOT 3
- pgbackrest backup fails with ERROR: [082]: WAL segment 000001B000000AF80000009B was not archived before the 60000ms timeout HOT 2
- Issue with the makefile
- Default requests/limits for containers in PostgresCluster CR HOT 3
- Deploying replication slots HOT 2
- Postgres Major Version Upgrade connection to server on socket "/pgdata/.s.PGSQL.50432" failed: FATAL: could not access file "zombodb.so": No such file or directory HOT 2
- UnableToCreateStanzas warning with wrong address for backup repo pod HOT 1
- Add the postgrescluster helm chart to the OCI developer registry HOT 1
- Pgadmin URL is not working post adding userInterface in the PGO CRD. HOT 1
- `no pg_hba.conf entry for host` when cluster is being connected to from another namespace
- Install Decoderbufs Extension
- Unable to disable TLS effectively
- new pgadmin 7.8 in namespace scoped mode gives error ERROR\tpgadmin:\t'pinged' HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from postgres-operator.