mirror of https://github.com/citusdata/citus.git
Fixes indentation
parent
95572c5ada
commit
8443ae36e7
|
@ -513,7 +513,6 @@ GenerateRoleOptionsList(HeapTuple tuple)
|
||||||
List *
|
List *
|
||||||
GenerateCreateOrAlterRoleCommand(Oid roleOid)
|
GenerateCreateOrAlterRoleCommand(Oid roleOid)
|
||||||
{
|
{
|
||||||
|
|
||||||
HeapTuple roleTuple = SearchSysCache1(AUTHOID, ObjectIdGetDatum(roleOid));
|
HeapTuple roleTuple = SearchSysCache1(AUTHOID, ObjectIdGetDatum(roleOid));
|
||||||
Form_pg_authid role = ((Form_pg_authid) GETSTRUCT(roleTuple));
|
Form_pg_authid role = ((Form_pg_authid) GETSTRUCT(roleTuple));
|
||||||
|
|
||||||
|
|
|
@ -4779,7 +4779,8 @@ SendNodeWideObjectsSyncCommands(MetadataSyncContext *context)
|
||||||
static void
|
static void
|
||||||
SendDatabaseGrantSyncCommands(MetadataSyncContext *context)
|
SendDatabaseGrantSyncCommands(MetadataSyncContext *context)
|
||||||
{
|
{
|
||||||
if(EnableCreateDatabasePropagation){
|
if (EnableCreateDatabasePropagation)
|
||||||
|
{
|
||||||
/* propagate node wide objects. It includes only roles for now. */
|
/* propagate node wide objects. It includes only roles for now. */
|
||||||
List *commandList = GenerateGrantDatabaseCommandList();
|
List *commandList = GenerateGrantDatabaseCommandList();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue