mirror of https://github.com/citusdata/citus.git
Moves struct to the header
parent
4b9285353d
commit
9407965817
|
@ -67,20 +67,6 @@
|
|||
"a foreign key relationship with %s by executing SELECT " \
|
||||
"undistribute_table($$%s$$, cascade_via_foreign_keys=>true)"
|
||||
|
||||
typedef struct TableConversionReturn
|
||||
{
|
||||
/*
|
||||
* commands to create foreign keys for the table
|
||||
*
|
||||
* When the table conversion is cascaded we can recreate
|
||||
* some of the foreign keys of the cascaded tables. So with this
|
||||
* list we can return it to the initial conversion operation so
|
||||
* foreign keys can be created after every colocated table is
|
||||
* converted.
|
||||
*/
|
||||
List *foreignKeyCommands;
|
||||
}TableConversionReturn;
|
||||
|
||||
|
||||
typedef TableConversionReturn *(*TableConversionFunction)(struct
|
||||
TableConversionParameters *);
|
||||
|
|
|
@ -155,7 +155,19 @@ typedef struct TableConversionParameters
|
|||
bool cascadeViaForeignKeys;
|
||||
} TableConversionParameters;
|
||||
|
||||
typedef struct TableConversionReturn TableConversionReturn;
|
||||
typedef struct TableConversionReturn
|
||||
{
|
||||
/*
|
||||
* commands to create foreign keys for the table
|
||||
*
|
||||
* When the table conversion is cascaded we can recreate
|
||||
* some of the foreign keys of the cascaded tables. So with this
|
||||
* list we can return it to the initial conversion operation so
|
||||
* foreign keys can be created after every colocated table is
|
||||
* converted.
|
||||
*/
|
||||
List *foreignKeyCommands;
|
||||
}TableConversionReturn;
|
||||
|
||||
|
||||
/* Config variable managed via guc.c */
|
||||
|
|
Loading…
Reference in New Issue