Diff of /dist/bin/dump-postgresql.sh [b947d4] .. [19e22f]  Maximize  Restore

Switch to side-by-side view

--- a/dist/bin/dump-postgresql.sh
+++ b/dist/bin/dump-postgresql.sh
@@ -58,7 +58,7 @@
 		;;
 esac
 legacy="${lsenses} ${lsensemaps} ${lsynsetmaps} ${lcomputedsynsetmaps}"
-vn="vnclasses vnclassmembers vngroupings vngroupingmaps vnrolemaps vnroles vnroletypes vnselrestrs vnselrestrtypes vnframemaps vnframes vnframenames vnframesubnames vnsemantics vnsyntaxes vnpredicatemaps vnpredicates vnexamplemaps vnexamples" 
+vn="vnclasses vnclassmembers vnclassmembersenses vngroupings vngroupingmaps vnrolemaps vnroles vnroletypes vnselrestrs vnselrestrtypes vnframemaps vnframes vnframenames vnframesubnames vnsemantics vnsyntaxes vnpredicatemaps vnpredicates vnexamplemaps vnexamples" 
 bnc="bncs bncimaginfs bncconvtasks bncspwrs"
 sumo="sumofiles sumoformulas sumoterms sumotermattrs sumomaps sumoparsemaps"
 xwn="xwnparselfts xwnwsds"
@@ -101,7 +101,8 @@
 	mydomain=$1
 	myswitch=${mydomain}
 	echo "* dumping views			${mydomain}"
-	${builderdir}/bin/run-${dbtype}-${dbtag}.sh dump constraints ${mydomain} > ${outdir}/${dbtype}-${mydomain}-constraints.sql 2> /dev/null
+	${builderdir}/bin/run-${dbtype}-${dbtag}.sh dump ${mydomain} constraint creates > ${outdir}/${dbtype}-${mydomain}-constrain.sql 2> /dev/null
+	${builderdir}/bin/run-${dbtype}-${dbtag}.sh dump ${mydomain} constraint drops > ${outdir}/${dbtype}-${mydomain}-unconstrain.sql 2> /dev/null
 }
 
 function views()
@@ -109,7 +110,7 @@
 	mydomain=$1
 	myswitch=${mydomain}
 	echo "* dumping constraints		${mydomain}"
-	${builderdir}/bin/run-${dbtype}-${dbtag}.sh dump view creates ${mydomain} > ${outdir}/${dbtype}-${mydomain}-views.sql 2> /dev/null
+	${builderdir}/bin/run-${dbtype}-${dbtag}.sh dump ${mydomain} view creates > ${outdir}/${dbtype}-${mydomain}-views.sql 2> /dev/null
 }
 
 if [ ! -z "$@" ]; then
@@ -128,4 +129,3 @@
 		views "${domain}"
 	fi
 done
-

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks