|
|
using | RETURN_TYPE = string |
|
|
static constexpr const char * | Name = "temp_directory" |
|
static constexpr const char * | Description = "Set the directory to which to write temp files" |
|
static constexpr const char * | InputType = "VARCHAR" |
◆ SetGlobal()
302923 {
302924 if (!Settings::Get<EnableExternalAccessSetting>(config)) {
302925 throw PermissionException("Modifying the temp_directory has been disabled by configuration");
302926 }
302929 if (db) {
302930 auto &buffer_manager = BufferManager::GetBufferManager(*db);
302932 }
302933}
bool use_temporary_directory
Whether or not to create and use a temporary directory to store intermediates that do not fit in memo...
Definition duckdb.hpp:40006
string temporary_directory
Directory to store temporary structures that do not fit in memory.
Definition duckdb.hpp:40008
DBConfigOptions options
Database configuration options.
Definition duckdb.hpp:40090
◆ ResetGlobal()
302935 {
302936 if (!Settings::Get<EnableExternalAccessSetting>(config)) {
302937 throw PermissionException("Modifying the temp_directory has been disabled by configuration");
302938 }
302939 config.SetDefaultTempDirectory();
302941 if (db) {
302942 auto &buffer_manager = BufferManager::GetBufferManager(*db);
302944 }
302945}
◆ GetSetting()
302947 {
302948 auto &buffer_manager = BufferManager::GetBufferManager(context);
302949 return Value(buffer_manager.GetTemporaryDirectory());
302950}
The documentation for this struct was generated from the following file: