forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb398388
committed
Add pg_version() to PostgreSQL::Test::Cluster
_pg_version (version number based on PostgreSQL::Version) is a fieldprivate to Cluster.pm but there was no helper routine to retrieve itfrom a Cluster's node. The same is done for install_path, for example,and the version object becomes handy when writing tests that needversion-specific handling.Reviewed-by: Andrew Dunstan, Daniel GustafssonDiscussion:https://postgr.es/m/YoWfoJTc987tsxpV@paquier.xyz1 parenta5084a1 commitb398388
1 file changed
+14
-0
lines changedLines changed: 14 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
331 | 331 |
| |
332 | 332 |
| |
333 | 333 |
| |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
334 | 348 |
| |
335 | 349 |
| |
336 | 350 |
| |
|
0 commit comments
Comments
(0)