Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 112400 | Differences between
and this patch

Collapse All | Expand All

(-)postgresql-8.1.0.ebuild.ori (-1 / +1 lines)
Lines 49-55 Link Here
49
	if [ -f ${PG_DIR}/data/PG_VERSION ] ; then
49
	if [ -f ${PG_DIR}/data/PG_VERSION ] ; then
50
		PG_MAJOR=`cat ${PG_DIR}/data/PG_VERSION | cut -f1 -d.`
50
		PG_MAJOR=`cat ${PG_DIR}/data/PG_VERSION | cut -f1 -d.`
51
		PG_MINOR=`cat ${PG_DIR}/data/PG_VERSION | cut -f2 -d.`
51
		PG_MINOR=`cat ${PG_DIR}/data/PG_VERSION | cut -f2 -d.`
52
		if [ ${PG_MAJOR} -lt 8 ] || [ ${PG_MAJOR} -eq 8 -a ${PG_MINOR} -lt 0 ] ; then
52
		if [ ${PG_MAJOR} -lt 8 ] || [ ${PG_MAJOR} -eq 8 -a ${PG_MINOR} -lt 1 ] ; then
53
			eerror "Postgres ${PV} cannot upgrade your existing databases, you must"
53
			eerror "Postgres ${PV} cannot upgrade your existing databases, you must"
54
			eerror "use pg_dump to export your existing databases to a file, and then"
54
			eerror "use pg_dump to export your existing databases to a file, and then"
55
			eerror "pg_restore to import them when you have upgraded completely."
55
			eerror "pg_restore to import them when you have upgraded completely."

Return to bug 112400