GetPostgresGID returns the GID that is being used for the "postgres" user
()
| 1065 | // GetPostgresGID returns the GID that is being used for the "postgres" |
| 1066 | // user |
| 1067 | func (cluster Cluster) GetPostgresGID() int64 { |
| 1068 | if cluster.Spec.PostgresGID == 0 { |
| 1069 | return DefaultPostgresGID |
| 1070 | } |
| 1071 | return cluster.Spec.PostgresGID |
| 1072 | } |
| 1073 | |
| 1074 | // ExternalCluster gets the external server with a known name, returning |
| 1075 | // true if the server was found and false otherwise |
no outgoing calls
no test coverage detected