File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 2222 *
2323 *
2424 * IDENTIFICATION
25- * $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.292 2002/08/27 18:57:26 petere Exp $
25+ * $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.293 2002/08/27 21:04:58 momjian Exp $
2626 *
2727 *-------------------------------------------------------------------------
2828 */
@@ -468,6 +468,12 @@ main(int argc, char **argv)
468468 exit (1 );
469469 }
470470
471+ if (dataOnly && outputClean )
472+ {
473+ write_msg (NULL , "The options \"clean\" (-c) and \"data only\" (-a) cannot be used together.\n" );
474+ exit (1 );
475+ }
476+
471477 if (outputBlobs && selectTablename != NULL && strlen (selectTablename ) > 0 )
472478 {
473479 write_msg (NULL , "Large object output is not supported for a single table.\n" );
You can’t perform that action at this time.
0 commit comments