DataStorage returns the absolute path to the disk where cluster stores its data. Use [DataDirectory] for the exact directory that Postgres uses.
(cluster *v1beta1.PostgresCluster)
| 128 | // DataStorage returns the absolute path to the disk where cluster stores its data. |
| 129 | // Use [DataDirectory] for the exact directory that Postgres uses. |
| 130 | func DataStorage(cluster *v1beta1.PostgresCluster) string { |
| 131 | return dataMountPath |
| 132 | } |
| 133 | |
| 134 | // LogRotation returns parameters that rotate log files while keeping a minimum amount. |
| 135 | // Postgres truncates and reuses log files after that minimum amount. |
no outgoing calls