File tree Expand file tree Collapse file tree 10 files changed +13
-13
lines changed Expand file tree Collapse file tree 10 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ if(CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR)
2626 if (BUILD_TESTING)
2727 include (FetchContent)
2828
29- FetchContent_Declare(libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 7.10.1 )
29+ FetchContent_Declare(libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 7.10.2 )
3030 FetchContent_MakeAvailable(libpqxx)
3131
3232 add_executable (test test /halfvec_test.cpp test /main.cpp test /pqxx_test.cpp test /sparsevec_test.cpp test /vector_test.cpp)
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ set(CMAKE_CXX_STANDARD 17)
66
77include (FetchContent)
88
9- FetchContent_Declare(libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 7.10.1 )
9+ FetchContent_Declare(libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 7.10.2 )
1010FetchContent_MakeAvailable(libpqxx)
1111
1212add_subdirectory ("${PROJECT_SOURCE_DIR} /../.." pgvector)
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ include(FetchContent)
88
99FetchContent_Declare(cpr GIT_REPOSITORY https://github.com/libcpr/cpr.git GIT_TAG 1.11.1)
1010FetchContent_Declare(json GIT_REPOSITORY https://github.com/nlohmann/json.git GIT_TAG v3.11.3)
11- FetchContent_Declare(libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 7.10.1 )
11+ FetchContent_Declare(libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 7.10.2 )
1212FetchContent_MakeAvailable(cpr json libpqxx)
1313
1414add_subdirectory ("${PROJECT_SOURCE_DIR} /../.." pgvector)
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ set(CMAKE_CXX_STANDARD 20)
77include (FetchContent)
88
99FetchContent_Declare(disco GIT_REPOSITORY https://github.com/ankane/disco-cpp.git GIT_TAG v0.1.3)
10- FetchContent_Declare(libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 7.10.1 )
10+ FetchContent_Declare(libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 7.10.2 )
1111FetchContent_MakeAvailable(disco libpqxx)
1212
1313add_subdirectory ("${PROJECT_SOURCE_DIR} /../.." pgvector)
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ include(FetchContent)
88
99FetchContent_Declare(cpr GIT_REPOSITORY https://github.com/libcpr/cpr.git GIT_TAG 1.11.1)
1010FetchContent_Declare(json GIT_REPOSITORY https://github.com/nlohmann/json.git GIT_TAG v3.11.3)
11- FetchContent_Declare(libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 7.10.1 )
11+ FetchContent_Declare(libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 7.10.2 )
1212FetchContent_MakeAvailable(cpr json libpqxx)
1313
1414add_subdirectory ("${PROJECT_SOURCE_DIR} /../.." pgvector)
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ set(CMAKE_CXX_STANDARD 17)
66
77include (FetchContent)
88
9- FetchContent_Declare(libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 7.10.1 )
9+ FetchContent_Declare(libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 7.10.2 )
1010FetchContent_MakeAvailable(libpqxx)
1111
1212add_subdirectory ("${PROJECT_SOURCE_DIR} /../.." pgvector)
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ include(FetchContent)
88
99FetchContent_Declare(cpr GIT_REPOSITORY https://github.com/libcpr/cpr.git GIT_TAG 1.11.1)
1010FetchContent_Declare(json GIT_REPOSITORY https://github.com/nlohmann/json.git GIT_TAG v3.11.3)
11- FetchContent_Declare(libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 7.10.1 )
11+ FetchContent_Declare(libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 7.10.2 )
1212FetchContent_MakeAvailable(cpr json libpqxx)
1313
1414add_subdirectory ("${PROJECT_SOURCE_DIR} /../.." pgvector)
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ find_package(Boost COMPONENTS iostreams serialization system REQUIRED)
99
1010include (FetchContent)
1111
12- FetchContent_Declare(libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 7.10.1 )
12+ FetchContent_Declare(libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 7.10.2 )
1313FetchContent_MakeAvailable(libpqxx)
1414
1515add_subdirectory ("${PROJECT_SOURCE_DIR} /../.." pgvector)
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ include(FetchContent)
88
99FetchContent_Declare(cpr GIT_REPOSITORY https://github.com/libcpr/cpr.git GIT_TAG 1.11.1)
1010FetchContent_Declare(json GIT_REPOSITORY https://github.com/nlohmann/json.git GIT_TAG v3.11.3)
11- FetchContent_Declare(libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 7.10.1 )
11+ FetchContent_Declare(libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 7.10.2 )
1212FetchContent_MakeAvailable(cpr json libpqxx)
1313
1414add_subdirectory ("${PROJECT_SOURCE_DIR} /../.." pgvector)
Original file line number Diff line number Diff line change @@ -245,7 +245,7 @@ void test_sparsevec_from_string() {
245245 auto unused = pqxx::from_string<pgvector::SparseVector>(" { }/" );
246246 assert (false );
247247 } catch (const pqxx::conversion_error& e) {
248- assert (std::string_view (e.what ()) == " Could not convert '' to int" );
248+ assert (std::string_view (e.what ()) == " Could not convert '' to int: Invalid argument. " );
249249 }
250250
251251 try {
@@ -259,7 +259,7 @@ void test_sparsevec_from_string() {
259259 auto unused = pqxx::from_string<pgvector::SparseVector>(" {:}/1" );
260260 assert (false );
261261 } catch (const pqxx::conversion_error& e) {
262- assert (std::string_view (e.what ()) == " Could not convert '' to int" );
262+ assert (std::string_view (e.what ()) == " Could not convert '' to int: Invalid argument. " );
263263 }
264264
265265 try {
@@ -294,7 +294,7 @@ void test_sparsevec_from_string() {
294294 auto unused = pqxx::from_string<pgvector::SparseVector>(" {a:1}/1" );
295295 assert (false );
296296 } catch (const pqxx::conversion_error& e) {
297- assert (std::string_view (e.what ()) == " Could not convert 'a' to int" );
297+ assert (std::string_view (e.what ()) == " Could not convert 'a' to int: Invalid argument. " );
298298 }
299299
300300 try {
@@ -308,7 +308,7 @@ void test_sparsevec_from_string() {
308308 auto unused = pqxx::from_string<pgvector::SparseVector>(" {}/a" );
309309 assert (false );
310310 } catch (const pqxx::conversion_error& e) {
311- assert (std::string_view (e.what ()) == " Could not convert 'a' to int" );
311+ assert (std::string_view (e.what ()) == " Could not convert 'a' to int: Invalid argument. " );
312312 }
313313}
314314
You can’t perform that action at this time.
0 commit comments