I have a problem when upgrade to new version Postgres (v8.x.x) on Reh HAT 9.0.

i was uninstall old version (Postgres 7.x.x) package with command
Code:
rpm -e postgresqlxxxxx.rpm
but only one package can't to erase : postgresql-libs-7xxxx.rpm
bcause there are one package need this lib : perl-DBD-xxxxx.

what can i do ? erase this package (red: perl-DBD-xxxx) or what ?