mirror of
https://github.com/osm2pgsql-dev/osm2pgsql.git
synced 2025-08-18 08:18:25 +00:00

This will be used as default for --middle-schema, --output-pgsql-schema, and for the different ways of setting a schema in the flex output and generalizer code. This removes the last places where the schema was hardcoded to "public" (except as a default for this command line parameter and in some legacy gazetteer code).
27 lines
717 B
C++
27 lines
717 B
C++
#ifndef OSM2PGSQL_FLEX_LUA_EXPIRE_OUTPUT_HPP
|
|
#define OSM2PGSQL_FLEX_LUA_EXPIRE_OUTPUT_HPP
|
|
|
|
/**
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
*
|
|
* This file is part of osm2pgsql (https://osm2pgsql.org/).
|
|
*
|
|
* Copyright (C) 2006-2023 by the osm2pgsql developer community.
|
|
* For a full list of authors see the git log.
|
|
*/
|
|
|
|
#include "expire-output.hpp"
|
|
|
|
#include <vector>
|
|
|
|
struct lua_State;
|
|
|
|
static char const *const osm2pgsql_expire_output_name =
|
|
"osm2pgsql.ExpireOutput";
|
|
|
|
int setup_flex_expire_output(lua_State *lua_state,
|
|
std::string const &default_schema,
|
|
std::vector<expire_output_t> *expire_outputs);
|
|
|
|
#endif // OSM2PGSQL_FLEX_LUA_EXPIRE_OUTPUT_HPP
|