Re: Problems invoking psql, was: Re: Troubles at - Mailing list pgsql-admin

From Hugh Esco
Subject Re: Problems invoking psql, was: Re: Troubles at
Date
Msg-id 5.1.0.14.0.20021127113501.02f106c0@petra.cagreens.org
Whole thread Raw
Responses Re: Problems invoking psql, was: Re: Troubles at  (Oliver Elphick <olly@lfix.co.uk>)
List pgsql-admin
Mr. Elphick:

I'm resending this, sans attachments, and to the list this time for others
edification, to correct some typos by my attempt to recreate the shell
dialogue.  Those first two lines are cat'ing diversions, not diversions.txt.

It seemed simpler than a continuous exchange of questions to clarify what
it is you are looking for.  But in case I do understand where you are
going, here is a quick shell dialogue that could permit you to delete these
text files unopened.

biko:/var/lib/dpkg# cat diversions | grep Package: > packages.txt
biko:/var/lib/dpkg# cat diversions | grep sql > sql.txt
biko:/var/lib/dpkg# cat packages.txt | grep sql > sqlpackages.txt
biko:/var/lib/dpkg# cat sqlpackages.txt
Package: mysql-common
Package: php4-pgsql
Package: mysql-server
Package: libmysqlclient10
Package: postgresql-client
Package: libdbd-mysql-perl
Package: postgresql
Package: postgresql-doc
Package: mysql-client
Package: libpgsql2
Package: php4-mysql
biko:/var/lib/dpkg#

I'm guessing that this diversion file tracks every package ever installed?

Thanks again for your help.

-- Hugh Esco


pgsql-admin by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: CASCADE PB
Next
From: Bruce Momjian
Date:
Subject: Re: pg_restore error: function plpgsql_call_handler already