Contrib modules on Win32

Started by Dave Pageabout 22 years ago5 messagespatches
Jump to latest
#1Dave Page
dpage@pgadmin.org

I'm just building a new rlease of the win32 installer and have been
compiling the contrib modules. As of todays CVS, the following modules
do not compile on Win32. Note that I haven't even looked at why - I have
enough to do with the installer and pgAdmin betas :-)

cube
dbase
miscutil
pg_logger
pgbench
pgcrypto
seg
tsearch

All the rest compile OK, but I haven't tested any of them.

Regards, Dave.

#2Laurent Ballester
postgresql.ballester@wanadoo.fr
In reply to: Dave Page (#1)
Re: Contrib modules on Win32

Hello,

I am fixed the dbase contrib module. Unfortunately without any .dbf files, I
don't know how to test it!

Attached, two diff files with my modifications.

Regards, Laurent

----- Original Message -----
From: "Dave Page" <dpage@vale-housing.co.uk>
To: "PgSQL Win32 developers" <pgsql-hackers-win32@postgresql.org>
Sent: Wednesday, September 08, 2004 1:07 PM
Subject: [pgsql-hackers-win32] Contrib modules on Win32

I'm just building a new rlease of the win32 installer and have been
compiling the contrib modules. As of todays CVS, the following modules
do not compile on Win32. Note that I haven't even looked at why - I have
enough to do with the installer and pgAdmin betas :-)

cube
dbase
miscutil
pg_logger
pgbench
pgcrypto
seg
tsearch

All the rest compile OK, but I haven't tested any of them.

Regards, Dave.

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Attachments:

dbf.h.diffapplication/octet-stream; name=dbf.h.diffDownload+3-0
dbf2pg.c.diffapplication/octet-stream; name=dbf2pg.c.diffDownload+6-6
#3Andreas Pflug
pgadmin@pse-consulting.de
In reply to: Dave Page (#1)
Re: Contrib modules on Win32

Dave Page wrote:

cube
seg

patch attached. Compiles, but not tested.

miscutil

Needs review; includes some deprecated stuff (backend_pid)

pg_logger

deprecated; use redirect_stderr (BTW, is it default on win32 now?)

pgcrypto

misses -lws2_32. According to README, it needs some tuning concerning
random() before deploying.

Regards,
Andreas

Attachments:

cube-contrib.patchtext/x-patch; name=cube-contrib.patchDownload+8-4
seg-contrib.patchtext/x-patch; name=seg-contrib.patchDownload+10-6
#4Tom Lane
tgl@sss.pgh.pa.us
In reply to: Andreas Pflug (#3)
Re: Contrib modules on Win32

Andreas Pflug <pgadmin@pse-consulting.de> writes:

cube
seg

patch attached. Compiles, but not tested.

Applied, thanks. (The modules still pass their regression tests on
Unix, FWIW.)

regards, tom lane

#5Tom Lane
tgl@sss.pgh.pa.us
In reply to: Dave Page (#1)
Are we there yet? (Re: Contrib modules on Win32)

"Dave Page" <dpage@vale-housing.co.uk> writes:

As of todays CVS, the following modules
do not compile on Win32.

cube
dbase
miscutil
pg_logger
pgbench
pgcrypto
seg
tsearch

I have applied patches that claim to fix all of these except pg_logger.
pg_logger will be removed from CVS shortly (maybe tomorrow) unless there
is a successful last-minute appeal for clemency ;-)

Can someone confirm that contrib-minus-pg_logger now builds on Win32?
Extra points for running "make installcheck" successfully ...

regards, tom lane