Skip to content

Commit 07fafb9

Browse files
committed
Add pgsql comments
1 parent bd8f541 commit 07fafb9

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

cmake/ext/pdo_pgsql/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ if(TARGET PostgreSQL::PostgreSQL)
9696
)
9797
endif()
9898

99+
# Available since PostgreSQL library version 12.
99100
if(PostgreSQL_VERSION_STRING VERSION_GREATER_EQUAL 12)
100101
check_symbol_exists(
101102
PQresultMemorySize
@@ -104,7 +105,7 @@ if(TARGET PostgreSQL::PostgreSQL)
104105
)
105106
endif()
106107

107-
# Available since PostgreSQL 17.
108+
# Available since PostgreSQL library version 17.
108109
if(PostgreSQL_VERSION_STRING VERSION_GREATER_EQUAL 17)
109110
# Indicates the presence of PQclosePrepared, PQclosePortal, etc.
110111
check_symbol_exists(

cmake/ext/pgsql/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ if(TARGET PostgreSQL::PostgreSQL)
100100
)
101101
endif()
102102

103-
# Available since PostgreSQL 12.
103+
# Available since PostgreSQL library version 12.
104104
if(PostgreSQL_VERSION_STRING VERSION_GREATER_EQUAL 12)
105105
check_symbol_exists(
106106
PQresultMemorySize
@@ -114,7 +114,7 @@ if(TARGET PostgreSQL::PostgreSQL)
114114
]] HAVE_PQERRORS_SQLSTATE)
115115
endif()
116116

117-
# Available since PostgreSQL 17.
117+
# Available since PostgreSQL library version 17.
118118
if(PostgreSQL_VERSION_STRING VERSION_GREATER_EQUAL 17)
119119
# Indicates the presence of PQchangePassword.
120120
check_symbol_exists(

0 commit comments

Comments
 (0)