Move towards unifying the postgresql ebuilds. Looking at alternate means of specifying the socket directory.
Refresh manifest.
Update Comments and Clean Functions

* Changed postgres_newuser to add_postgres_usergroup to be used as a
  convenience function
* Update comments to match actions
Simplify

Since the array is already sorted properly and is a union, we can just
grab the first element.
Multiple Changes

Changed which arrays are sorted or not because of how the
MULTIBUILD_VARIANTS array is handled by the multibuild.eclass when we
want to get the best, which is assumed to be the last element in the
array.

Moved and renamed the postgres-multi-get_impls() from
postgres-multi.eclass to postgres.eclass as postgres-get_impls() to
not reapeat myself as I actually need the same behavior for
postgres_single_slot_pkg_setup().

Use MULTIBUILD_VARIANTS instead to get the best implementation.

And other minor stuff.
Add for_best(), move/rename get_impls().
Recursion is no bueno.
Unify PostgreSQL Ebuilds

Getting PostgreSQL RDBMS a bit closer to upstream. These files haven't
been tested as of yet, but should avoid many of the pitfalls the split
ebuilds succumb to.
Additional Repo Metadata

To be a bit more compatible with layman...maybe. If anyone ever bothers.
Fix Compilation

Get the 9.0 patches instead of the 9.1 patches. Since the makefiles
automatically detect whether or not to use/enable XML support, we don't
need to explicitly state it ourselves. And, because the build order is
the same whether or not we are building the server, skip that test.

And, get rid of those damn extra pluses sed decided to put in.
Improve Live Ebuild and Simplify Compilation

There were several holdovers from the old ebuilds that were entirely
unnecessary for quite some time. They've been removed.

The base.patch modifies the Makefiles so that we don't have to worry
about whether we're building the server or not. The server-related
targets won't be made when the 'server' USE flag is disabled.

Dropped 'dohtml ...' in favor of 'docinto html; dodoc ...' per
gentoo-dev list conversation. [1]

Include a sample psqlrc file instead of just keeping the
/etc/postgresql-${SLOT} directory to make it a bit easier to figure out
what to do with it when you don't have the server installed.

Corrected the src_install() on postgresql-9.2.5.ebuild as it wasn't
properly unified.

Include the previously ignored 'man 3 ...' pages.

[1] http://www.gossamer-threads.com/lists/gentoo/dev/291541
Better Dependency Checking

Use the built in has_version() to determine if the dependencies are met.
Really Get Rid of dohtml()
Clean Out Soon To Be Obsolete Ebuilds

And update the manifest for dev-db/postgresql.
Replace IUSE with something complete
Replace loop with cleaner sed
Swap epatch with "maintenance-free" sed statements

And eliminate the plperl sed as it doesn't actually do anything.
Modernize Ebuilds to Catch Up With Upstream

Upstream has fixed the regression tests (pg_regress) so that we no
longer need to apply any hacks to make it work within in the confines of
Portage. This allowed us to drop the 'test' use flag and Makefile hack
within the ebuild. It just works.

Added missing 'use server' tests in pkg_postinst(), src_test(), and
pkg_config(). Don't give next steps for the server unless the server was
built. Additionally, we can't test the server if we didn't build
it. Same for configuring it.

Added missing dependencies. For the live ebuild these were mostly
related to building the man pages and optional documentation.

We don't need to add "/usr/${LIBDIR}/postgresql-${SLOT}" to the includes
or libraries search path as they're not being built in a different
package.
Back Patch Changes From 9.2+

Except for the tests. They've been restricted...for now.
Merge branch 'pgsql-eclass' into pgmove