Re: [HACKERS] Log operating system user connecting via unix socket

2016-01-27 Thread José Arthur Benetasso Villanova
wing in pg_stat_* info tables. I'd > love to have the Kerberos principal available, but I don't think it'd > make sense to have a 'pg_stat_kerberos' just for that. > > I agree that it's moving the goalposts for this patch and could be an > independent pa

[HACKERS] Log operating system user connecting via unix socket

2016-01-17 Thread José Arthur Benetasso Villanova
tgres log, I just know that a postgres user connect, but I don't know which one is in case that more than one user is logged in the server. This simple log line can create the relations needed for an audit. Feel free to comment and criticize. -- José Arthur Benetasso Villanova diff --git a/s

[HACKERS] Re: [patch] Include detailed information about a row failing a CHECK constraint into the error message

2011-11-09 Thread José Arthur Benetasso Villanova
ot;", - RelationGetRelationName(rel), failed))); + RelationGetRelationName(rel), failed), + errdetail("New row with data (%s) violates check constraint \"%s\".", + buf.data, failed))); + } } } -- José Arthur Benetasso Villanova -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers

Re: [HACKERS] directory archive format for pg_dump

2010-11-19 Thread José Arthur Benetasso Villanova
is the 1st thing that I notice. The md5.c and kwlookup.c reuse using a link doesn't look nice either. This way you need to compile twice, among others things, but I think that its temporary, right? -- José Arthur Benetasso Villanova -- Sent via pgsql-hackers mailing list (pgsql-hacke

[HACKERS] Patch: Extend NOT NULL representation to pg_constraint

2010-09-25 Thread José Arthur Benetasso Villanova
onstraint, 10 to the sequence. Is that ok? Other thing: #define CONSTRAINT_NOTNULL 'n' in src/include/catalog/pg_constraint.h is using spaces instead of tabs :-) -- José Arthur Benetasso Villanova