"Graham Vickrage" <graham@digitalplanit.com> writes:
> I noticed that you can't use the 'ident sameuser' with local unix sockets,
> what is the method of getting round this as I cant use trust for this
> database?
ident only works with TCP sockets. You could require people to connect
to host localhost, ie, use a local TCP connection instead of a Unix
socket. Set up 127.0.0.1 as ident sameuser and socket connections as
reject in pg_hba.conf.
regards, tom lane