MoveToEnd(g_fout, "BLOBS");
MoveToEnd(g_fout, "INDEX");
MoveToEnd(g_fout, "CONSTRAINT");
+ MoveToEnd(g_fout, "FK CONSTRAINT");
MoveToEnd(g_fout, "TRIGGER");
MoveToEnd(g_fout, "RULE");
MoveToEnd(g_fout, "SEQUENCE SET");
*
* Dump out constraints after all table creation statements in
* an alter table format. Currently handles foreign keys only.
+ * (Unique and primary key constraints are handled with indexes,
+ * while check constraints are merged into the table definition.)
*
* XXX Potentially wrap in a 'SET CONSTRAINTS OFF' block so that
* the current table data is not processed
conName,
tbinfo->relnamespace->nspname,
tbinfo->usename,
- "CONSTRAINT", NULL,
+ "FK CONSTRAINT", NULL,
query->data, delqry->data,
NULL, NULL, NULL);