How to remove duplicate lines but save one of the lines? - Mailing list pgsql-general

I have a table with rows like this
A 1
A 1
B 3
B 3
C 44
C 44
and so on.

and I want it to be
A 1
B 3
C 44

so how can I remove the all the duplicate lines but one?

pgsql-general by date:

Previous
From: Richard Huxton
Date:
Subject: Re: Problems using Grails with Postgresql
Next
From: Raymond O'Donnell
Date:
Subject: Re: How to remove duplicate lines but save one of the lines?