Fixes review comments

pull/7388/head
gurkanindibay 2023-12-26 22:50:33 +03:00
parent 8387942d92
commit 2d072dfd33
1 changed files with 6 additions and 7 deletions

View File

@ -23,17 +23,12 @@
#include "distributed/citus_ruleutils.h"
#include "distributed/commands.h"
#include "distributed/comment.h"
#include "distributed/deparser.h"
#include "distributed/listutils.h"
#include "distributed/log_utils.h"
typedef struct
{
char *name;
int type;
} ObjectTypeInfo;
const ObjectTypeInfo ObjectTypeInfos[] =
{
[OBJECT_DATABASE] = { "DATABASE", T_String },
@ -41,7 +36,11 @@ const ObjectTypeInfo ObjectTypeInfos[] =
[OBJECT_TSCONFIGURATION] = { "TEXT SEARCH CONFIGURATION", T_List },
[OBJECT_TSDICTIONARY] = { "TEXT SEARCH DICTIONARY", T_List },
/* etc. */
/* When support for propagating comments to new objects is introduced, an entry for each
* statement type should be added to this list. The first element in each entry is the keyword
* that will be included in the 'COMMENT ..' statement. The second element is the type of
* stmt->object, which represents the name of the propagated object.
*/
};
char *