Files
osm2pgsql/src/flex-lua-expire-output.hpp
Jochen Topf 43dd112612 Add new command line parameter --schema that sets the default schema
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).
2023-08-14 18:29:48 +02:00

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