File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: build
2
2
on : [push, pull_request]
3
3
jobs :
4
4
build :
5
- runs-on : ubuntu-24 .04
5
+ runs-on : ubuntu-22 .04
6
6
steps :
7
7
- uses : actions/checkout@v4
8
8
- uses : ankane/setup-postgres@v1
Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ if(CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR)
24
24
option (BUILD_TESTING "" OFF )
25
25
26
26
if (BUILD_TESTING )
27
+ option (BUILD_SHARED_LIBS "" ON )
28
+
27
29
include (FetchContent )
28
30
29
31
FetchContent_Declare (libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 7.10.1 )
Original file line number Diff line number Diff line change 21
21
// / @cond
22
22
23
23
namespace pqxx {
24
- template <> std::string const type_name<pgvector::Vector>{" vector" };
24
+ template <> inline std::string const type_name<pgvector::Vector>{" vector" };
25
25
26
26
template <> struct nullness <pgvector::Vector> : pqxx::no_null<pgvector::Vector> {};
27
27
@@ -66,7 +66,7 @@ template <> struct string_traits<pgvector::Vector> {
66
66
}
67
67
};
68
68
69
- template <> std::string const type_name<pgvector::HalfVector>{" halfvec" };
69
+ template <> inline std::string const type_name<pgvector::HalfVector>{" halfvec" };
70
70
71
71
template <> struct nullness <pgvector::HalfVector> : pqxx::no_null<pgvector::HalfVector> {};
72
72
@@ -111,7 +111,7 @@ template <> struct string_traits<pgvector::HalfVector> {
111
111
}
112
112
};
113
113
114
- template <> std::string const type_name<pgvector::SparseVector>{" sparsevec" };
114
+ template <> inline std::string const type_name<pgvector::SparseVector>{" sparsevec" };
115
115
116
116
template <> struct nullness <pgvector::SparseVector> : pqxx::no_null<pgvector::SparseVector> {};
117
117
You can’t perform that action at this time.
0 commit comments