Commit d4f894e
committed
Use PG_MODULE_MAGIC_EXT in PostgreSQL 18 and later
The PG_MODULE_MAGIC_EXT macro was added in PostgreSQL 18 and makes it
possible to see which version of the library is actually loaded using
pg_get_loaded_modules().
This commit also moves the use of PG_MODULE_MAGIC to a less awkward
place. While it is not 100% connected to the version functions it is
much more connect to them than to Djikstra.1 parent be1200a commit d4f894e
2 files changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
42 | 40 | | |
43 | 41 | | |
44 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
32 | 38 | | |
33 | 39 | | |
34 | 40 | | |
| |||
0 commit comments