-
-
Notifications
You must be signed in to change notification settings - Fork 477
Expand file tree
/
Copy pathpgsql-capabilities-int.hpp
More file actions
38 lines (29 loc) · 939 Bytes
/
pgsql-capabilities-int.hpp
File metadata and controls
38 lines (29 loc) · 939 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#ifndef OSM2PGSQL_PGSQL_CAPABILITIES_INT_HPP
#define OSM2PGSQL_PGSQL_CAPABILITIES_INT_HPP
/**
* SPDX-License-Identifier: GPL-2.0-or-later
*
* This file is part of osm2pgsql (https://osm2pgsql.org/).
*
* Copyright (C) 2006-2026 by the osm2pgsql developer community.
* For a full list of authors see the git log.
*/
#include "pgsql-capabilities.hpp"
#include <map>
#include <set>
#include <string>
struct database_capabilities_t
{
std::map<std::string, std::string> settings;
std::set<std::string> extensions;
std::set<std::string> schemas;
std::set<std::string> tablespaces;
std::set<std::string> index_methods;
std::set<std::string> tables;
std::string database_name;
unsigned int geometry_type_oid = 0;
uint32_t database_version = 0;
postgis_version postgis{};
};
database_capabilities_t &database_capabilities_for_testing() noexcept;
#endif // OSM2PGSQL_PGSQL_CAPABILITIES_INT_HPP