OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SysCatalog.cpp File Reference

Functions for System Catalog. More...

#include "SysCatalog.h"
#include <algorithm>
#include <cassert>
#include <exception>
#include <filesystem>
#include <list>
#include <memory>
#include <random>
#include <sstream>
#include <string_view>
#include "Catalog.h"
#include "Catalog/AuthMetadata.h"
#include "QueryEngine/ExternalCacheInvalidators.h"
#include <boost/algorithm/string/predicate.hpp>
#include <boost/filesystem.hpp>
#include <boost/range/adaptor/map.hpp>
#include <boost/version.hpp>
#include "MapDRelease.h"
#include "Parser/ParserNode.h"
#include "RWLocks.h"
#include "Shared/File.h"
#include "Shared/StringTransform.h"
#include "Shared/SysDefinitions.h"
#include "Shared/measure.h"
#include "Shared/misc.h"
#include "include/bcrypt.h"
+ Include dependency graph for SysCatalog.cpp:

Go to the source code of this file.

Namespaces

 anonymous_namespace{SysCatalog.cpp}
 
 Catalog_Namespace
 
 Catalog_Namespace::anonymous_namespace{SysCatalog.cpp}
 

Typedefs

using Catalog_Namespace::sys_write_lock = write_lock< SysCatalog >
 
using Catalog_Namespace::sys_sqlite_lock = sqlite_lock< SysCatalog >
 

Functions

std::string anonymous_namespace{SysCatalog.cpp}::hash_with_bcrypt (const std::string &pwd)
 
std::filesystem::path anonymous_namespace{SysCatalog.cpp}::copy_catalog_if_read_only (std::filesystem::path base_data_path)
 
void Catalog_Namespace::anonymous_namespace{SysCatalog.cpp}::deleteObjectPrivileges (std::unique_ptr< SqliteConnector > &sqliteConnector, std::string roleName, bool userRole, DBObject &object)
 
void Catalog_Namespace::anonymous_namespace{SysCatalog.cpp}::insertOrUpdateObjectPrivileges (std::unique_ptr< SqliteConnector > &sqliteConnector, std::string roleName, bool userRole, const DBObject &object)
 
static bool Catalog_Namespace::parseUserMetadataFromSQLite (const std::unique_ptr< SqliteConnector > &conn, UserMetadata &user, int row)
 
auto Catalog_Namespace::anonymous_namespace{SysCatalog.cpp}::get_users (SysCatalog &syscat, std::unique_ptr< SqliteConnector > &sqliteConnector, const int32_t dbId=-1)
 
const TableDescriptorCatalog_Namespace::get_metadata_for_table (const ::shared::TableKey &table_key, bool populate_fragmenter)
 
const ColumnDescriptorCatalog_Namespace::get_metadata_for_column (const ::shared::ColumnKey &column_key)
 

Variables

std::string g_base_path
 
bool g_enable_idp_temporary_users {true}
 
bool g_enable_system_tables {true}
 
bool g_enable_fsi
 
bool g_read_only
 
bool Catalog_Namespace::g_log_user_id {false}
 
auto Catalog_Namespace::anonymous_namespace{SysCatalog.cpp}::append_with_commas
 

Detailed Description

Functions for System Catalog.

Definition in file SysCatalog.cpp.

Variable Documentation

bool g_enable_fsi

Definition at line 96 of file Catalog.cpp.

bool g_enable_idp_temporary_users {true}