mirror of https://github.com/citusdata/citus.git
Fixes codecov issue
parent
63e3738f46
commit
1900c8e0f4
|
@ -70,15 +70,6 @@ DefElemOptionToStatement(StringInfo buf, DefElem *option,
|
|||
break;
|
||||
}
|
||||
|
||||
#if PG_VERSION_NUM >= PG_VERSION_15
|
||||
case OPTION_FORMAT_OBJECT_ID:
|
||||
{
|
||||
Oid value = defGetObjectId(option);
|
||||
appendStringInfo(buf, optionFormats[i].format, value);
|
||||
break;
|
||||
}
|
||||
|
||||
#endif
|
||||
case OPTION_FORMAT_LITERAL_CSTR:
|
||||
{
|
||||
char *value = defGetString(option);
|
||||
|
|
|
@ -323,11 +323,6 @@ DeparseCreateDatabaseStmt(Node *node)
|
|||
static void
|
||||
AppendCreateDatabaseStmt(StringInfo buf, CreatedbStmt *stmt)
|
||||
{
|
||||
/*
|
||||
* Make sure that we don't try to deparse something that this
|
||||
* function doesn't expect.
|
||||
*/
|
||||
EnsureSupportedCreateDatabaseCommand(stmt);
|
||||
|
||||
appendStringInfo(buf,
|
||||
"CREATE DATABASE %s",
|
||||
|
|
|
@ -932,11 +932,6 @@ SELECT * FROM public.check_database_on_all_nodes('test_db') ORDER BY node_type;
|
|||
REVOKE CONNECT ON DATABASE test_db FROM propagated_role;
|
||||
DROP DATABASE test_db;
|
||||
DROP ROLE propagated_role, non_propagated_role;
|
||||
--test that create database with oid option failed when citus.enable_create_database_propagation is on
|
||||
set citus.enable_create_database_propagation TO on;
|
||||
CREATE DATABASE db_oid_test WITH OID 123;
|
||||
ERROR: CREATE DATABASE option "oid" is not supported
|
||||
set citus.enable_create_database_propagation TO off;
|
||||
--clean up resources created by this test
|
||||
-- DROP TABLESPACE is not supported, so we need to drop it manually.
|
||||
SELECT result FROM run_command_on_all_nodes(
|
||||
|
|
|
@ -536,13 +536,6 @@ REVOKE CONNECT ON DATABASE test_db FROM propagated_role;
|
|||
DROP DATABASE test_db;
|
||||
DROP ROLE propagated_role, non_propagated_role;
|
||||
|
||||
--test that create database with oid option failed when citus.enable_create_database_propagation is on
|
||||
set citus.enable_create_database_propagation TO on;
|
||||
CREATE DATABASE db_oid_test WITH OID 123;
|
||||
|
||||
set citus.enable_create_database_propagation TO off;
|
||||
|
||||
|
||||
|
||||
--clean up resources created by this test
|
||||
|
||||
|
|
Loading…
Reference in New Issue