mirror of https://github.com/citusdata/citus.git
Fixes review comments
parent
8387942d92
commit
2d072dfd33
|
@ -23,17 +23,12 @@
|
||||||
|
|
||||||
#include "distributed/citus_ruleutils.h"
|
#include "distributed/citus_ruleutils.h"
|
||||||
#include "distributed/commands.h"
|
#include "distributed/commands.h"
|
||||||
|
#include "distributed/comment.h"
|
||||||
#include "distributed/deparser.h"
|
#include "distributed/deparser.h"
|
||||||
#include "distributed/listutils.h"
|
#include "distributed/listutils.h"
|
||||||
#include "distributed/log_utils.h"
|
#include "distributed/log_utils.h"
|
||||||
|
|
||||||
|
|
||||||
typedef struct
|
|
||||||
{
|
|
||||||
char *name;
|
|
||||||
int type;
|
|
||||||
} ObjectTypeInfo;
|
|
||||||
|
|
||||||
const ObjectTypeInfo ObjectTypeInfos[] =
|
const ObjectTypeInfo ObjectTypeInfos[] =
|
||||||
{
|
{
|
||||||
[OBJECT_DATABASE] = { "DATABASE", T_String },
|
[OBJECT_DATABASE] = { "DATABASE", T_String },
|
||||||
|
@ -41,7 +36,11 @@ const ObjectTypeInfo ObjectTypeInfos[] =
|
||||||
[OBJECT_TSCONFIGURATION] = { "TEXT SEARCH CONFIGURATION", T_List },
|
[OBJECT_TSCONFIGURATION] = { "TEXT SEARCH CONFIGURATION", T_List },
|
||||||
[OBJECT_TSDICTIONARY] = { "TEXT SEARCH DICTIONARY", 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 *
|
char *
|
||||||
|
|
Loading…
Reference in New Issue