pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joe Conway <mail@joeconway.com>
To: Niels Jespersen <NJN@dst.dk>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Pavel Stehule <pavel.stehule@gmail.com>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Implementing pgaudit extension on Microsoft Windows
Date: Wed, 20 Feb 2019 06:59:14 -0500
Message-ID: <c3f3deb1-3f03-3042-6c09-e520c9bc6d7e@joeconway.com> (raw)
In-Reply-To: <3967181ED595B445B1E39718204FD4BD0107BCCF9A@SRVEXC5.dst.local>
References: <3967181ED595B445B1E39718204FD4BD0107BCCF9A@SRVEXC5.dst.local>

On 2/20/19 5:58 AM, Niels Jespersen wrote:
> I did not submit an issue. Instead, I read your input on another
> existing issue. In that, you recommended to place pgaudit source in
> contrib in a PostgreSQL source tree and build the whole thing.

I was hoping you would see that -- it looked pretty much the same as
your issue.

> I did just that this morning using 11.2 (my first compile of
> PostgreSQL (which succeeeded)). The resulting pgaudit.dll works fine.
> So far at least, I haven't tried all features, but pgaudit.log =
> 'all' generates lots of log.

Awesome -- thanks for the follow up!

> I  also pulled the commands to build pgaudit from the build log and
> can now compile pgaudit to a working dll against only a binary
> installation.


Oh, I didn't even know that was possible. Can you describe in a little
more detail how that is done? I only know the minimum possible to get by
with the Windows build system...

> Perhaps my experiences could be added to the project. I am willing to
> write a short markdown document describing this, if there is
> interest.

That would be awesome, although I bet it applies to more than just
pgaudit. I have had people report similar issues over the years with
plr.dll, for example.

Joe

-- 
Crunchy Data - http://crunchydata.com
PostgreSQL Support for Secure Enterprises
Consulting, Training, & Open Source Development

Attachments:

  signature.asc (application/pgp-signature, 818B) download

view thread (9+ messages)

Message-ID: <c3f3deb1-3f03-3042-6c09-e520c9bc6d7e@joeconway.com>
Permalink:  ../c3f3deb1-3f03-3042-6c09-e520c9bc6d7e@joeconway.com/
Also on:    postgresql.org/message-id/c3f3deb1-3f03-3042-6c09-e520c9bc6d7e@joeconway.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: mail@joeconway.com, NJN@dst.dk, tgl@sss.pgh.pa.us, pavel.stehule@gmail.com
  Subject: Re: Implementing pgaudit extension on Microsoft Windows
  In-Reply-To: <c3f3deb1-3f03-3042-6c09-e520c9bc6d7e@joeconway.com>
  References: <3967181ED595B445B1E39718204FD4BD0107BCCF9A@SRVEXC5.dst.local> <c3f3deb1-3f03-3042-6c09-e520c9bc6d7e@joeconway.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox