[PATCHES] cygwin 8.0.0beta1 postmaster/syslogger.c, port/dirmod.c, timezone/pgtz.c

2004-08-24 Thread Reini Urban
:dirmod.c: undefined reference to `__imp__CurrentMemoryContext' which explains the pgport_palloc problem. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ 2004-08-24 20:20:54 rurban: * cygwin needs different header locations, and unlink is a macro * There are no p

[PATCHES] 8.0.0b1: configure.in cygipc

2004-08-26 Thread Reini Urban
urban/software/cygwin/postgresql/postgresql-7.4.5-1/ and http://xarch.tu-graz.ac.at/home/rurban/software/cygwin/postgresql/postgresql-8.0.0beta1-1/ but the 8.0.0b1 patchset is not finished yet. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ 2004-08-26 00:15:41 [EMAIL PROTECTED] cygi

Re: [PATCHES] 8.0.0b1: configure.in cygipc

2004-08-26 Thread Reini Urban
Peter Eisentraut schrieb: Reini Urban wrote: cygipc is deprecated in cygwin, replaced by cygserver added test to check for running cygserver and the required server in $CYGWIN. Otherwise build for cygipc, but print a warning. configure checks the build environment, not the run time

Re: [PATCHES] cygwin 8.0.0beta1 postmaster/syslogger.c, port/dirmod.c,

2004-08-29 Thread Reini Urban
tions Derived from Issue 1 of the SVID. */ extern __IMPORT time_t _timezone; ... BTW: I see that CYGWIN also has a struct timezone in sys/time.h, but configure didn't check for that. I'll come with better patches after beta2. ---

Re: [PATCHES] cygwin 8.0.0beta1 postmaster/syslogger.c, port/dirmod.c,

2004-08-30 Thread Reini Urban
Bruce Momjian schrieb: Should I apply this change? #define TIMEZONE_GLOBAL ((int)_timezone) yes, please. I have no time yet, to come up with the better patch. It's already monday. --- Reini Urban wrote: Bruce Mo

Re: [PATCHES] time_t timezone

2004-08-31 Thread Reini Urban
tched it just for completeness in the forthcoming cygwin package.) Bruce Momjian schrieb: OK, patch attached and applied that casts _timezone to (int) on Cygwin. --- Reini Urban wrote: Bruce Momjian schrieb: Should I apply

Re: [PATCHES] 8.0.0b1: configure.in cygipc

2004-08-31 Thread Reini Urban
Peter Eisentraut schrieb: Reini Urban wrote: But my patch is still valid: The current cygipc check is wrong when cygserver is running. If cygserver is not running, it displays a warning when using the cygipc library. What would be wrong with using cygserver when available (!= when running

Re: [PATCHES] time_t timezone

2004-08-31 Thread Reini Urban
Tom Lane schrieb: Reini Urban <[EMAIL PROTECTED]> writes: Added configure time_t timezone check for the SUSV definition. Kindly do not claim that this is per SUS spec. http://www.opengroup.org/onlinepubs/007908799/xsh/timezone.html oops! sorry :( -- Reini Urban http://xarch.tu-graz.ac.a

Re: [PATCHES] time_t timezone

2004-09-01 Thread Reini Urban
ther platforms will loose. ------- Reini Urban wrote: Tom Lane schrieb: Reini Urban <[EMAIL PROTECTED]> writes: Added configure time_t timezone check for the SUSV definition. Kindly do not claim that this is per SUS spec. http://www.opengroup.org/onlinepubs/0

Re: [PATCHES] time_t timezone

2004-09-01 Thread Reini Urban
Tom Lane schrieb: Reini Urban <[EMAIL PROTECTED]> writes: But the time_t timezone issue is here: "XSHd7 Aardvark Change Request Report" http://www.opengroup.org/austin/docs/austin_97.txt (ERN 20 Accept as marked, page 1177) There is nothing whatever on that page about the

Re: [PATCHES] time_t timezone

2004-09-01 Thread Reini Urban
Tom Lane schrieb: Reini Urban <[EMAIL PROTECTED]> writes: Yes, they are talking about the localtime return value, but nevertheless the newlib folks refer to that. Their fault. Should I discuss that with them? Probably. They have a gratuitous variation from the Single Unix Spec. But what

Re: [PATCHES] time_t timezone

2004-09-01 Thread Reini Urban
Bruce Momjian schrieb: Tom Lane wrote: Reini Urban <[EMAIL PROTECTED]> writes: Yes, they are talking about the localtime return value, but nevertheless the newlib folks refer to that. Their fault. Should I discuss that with them? Probably. They have a gratuitous variation from the Singl

Re: [PATCHES] time_t timezone

2004-09-03 Thread Reini Urban
Bruce Momjian schrieb: Reini Urban wrote: # PGAC_VAR_INT_TIMEZONE # - # Check if the global variable `timezone' exists. If so, define # HAVE_INT_TIMEZONE. AC_DEFUN([PGAC_VAR_INT_TIMEZONE], [AC_CACHE_CHECK(for int tim

Re: [PATCHES] [HACKERS] more dirmod CYGWIN

2004-09-10 Thread Reini Urban
Reini Urban schrieb: [BTW: there's no need to cc all, I'm subscribed to most lists] Reini Urban schrieb: Bruce Momjian schrieb: Andrew Dunstan wrote: Reini Urban wrote: FYI: WIN32 is also defined because is included. (/usr/incluse/w32api/windef.h) If you want this or that, do proper ne

Re: [PATCHES] [HACKERS] more dirmod CYGWIN

2004-09-10 Thread Reini Urban
-lpgport +else + SHLIB_LINK += $(BE_DLLLIBS) +endif endif ifdef PG_CPPFLAGS -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster

Re: [PATCHES] libpq.dll on win32

2004-10-12 Thread Reini Urban
Tom Lane schrieb: Also, I count 3 *.def files to be fixed, not two. (We really oughta figure a way to generate them all from a single list file... can we rely on sed(1) being available in all Windows build environments?) for cygwin: yes. the non-gcc builds would need the mingw or cygwin versions.

[PATCHES] pg_regress --temp-keep

2004-10-15 Thread Reini Urban
add boolean option --temp-keep to pg_regress to keep the existing tmp_check installation, instead of overwriting it with a fresh make install. Useful to test minor modifications in the current tmp_check installation. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ *** src/test/regress

Re: [PATCHES] pg_regress --temp-keep

2004-10-15 Thread Reini Urban
. --- Reini Urban wrote: add boolean option --temp-keep to pg_regress to keep the existing tmp_check installation, instead of overwriting it with a fresh make install. Useful to test minor modifications in the current tmp_check installation. -- Reini Urban http://xarch.tu-graz.ac.at/home

Re: [PATCHES] [CYGWIN] postgresql 8.0 with cygwin - success

2004-10-15 Thread Reini Urban
Marek Lewczuk schrieb: Reini Urban wrote: Bruce Momjian schrieb: Great. Thanks. I was getting conflicting reports of Cygwin problems before. Not for me: I found a problem with my pg_ctl patch (WIN32 is always defined in cygwin when windows.h is included, and the START /B postmaster cmdline

Re: [PATCHES] [CYGWIN] postgresql 8.0 with cygwin - success

2004-10-15 Thread Reini Urban
tgresql' fault. But I'll revive the old ipc_test app and do more testing. ------- Reini Urban wrote: Marek Lewczuk schrieb: Reini Urban wrote: Bruce Momjian schrieb: Great. Thanks. I was getting conflicting reports of

Re: [PATCHES] [HACKERS] more dirmod CYGWIN

2004-10-13 Thread Reini Urban
d for /contrib modules, not sure why + SHLIB_LINK += -lpgport endif ifeq ($(PORTNAME), win32) -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ ---(end of broadcast)--- TIP 2: you can get off all lists at once with the unregister command

Re: [PATCHES] LDFLAGS overriding

2004-09-30 Thread Reini Urban
fails in building shared libs. A similar problem as with building php. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ ---(end of broadcast)--- TIP 6: Have you searched our list archives? http://archives.postgresql.org

Re: [PATCHES] LDFLAGS overriding

2004-10-02 Thread Reini Urban
Peter Eisentraut schrieb: Reini Urban wrote: I think that LDFLAGS overriding is in some situations bad for newer libtool, as it is used with some postgresql contrib makefiles and interfaces. We're not using libtool. sorry. it conflicts with gnu ld. LIBS are added to LDFLAGS where they r

Re: [PATCHES] LDFLAGS overriding

2004-10-04 Thread Reini Urban
Tom Lane schrieb: Reini Urban <[EMAIL PROTECTED]> writes: Peter Eisentraut schrieb: Please point out where that happens so it can be corrected. Something like this (against an older cvs snap), but I don't believe that this is the best way to solve it. It just solved building under cy

[PATCHES] contrib/spi -lpgport missing

2004-10-04 Thread Reini Urban
sion tests (testing against shm failures on cygwin) pending. No time yet. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ Index: Makefile === RCS file: /projects/cvsroot/pgsql-server/contrib/spi/Makefile,v retrieving revision 1.

[PATCHES] pg_ctl: WIN32 for CYGWIN also (services)

2004-10-06 Thread Reini Urban
I'd like to have this nice new features also :) Just redefine WIN32 #ifdef __CYGWIN___ or the clean and long way as in my patch? I'm not sure about any dirty side-effects. Builds fine and works as expected. (Just tablespace symlinks not yet. Will get to that soon.) --- postgresql-8.0.0cvs/src/bin

[PATCHES] cypg.dll, libpq_a, initdb max_connections 60

2004-10-09 Thread Reini Urban
start with. I've set that to 60. http://archives.postgresql.org/pgsql-cygwin/2002-09/msg2.php Fixing src/backend/utils/misc/postgresql.conf.sample would be stupid. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ *** postgresql-8.0.0cvs/src/interfaces/libpq/Makefile.orig

Re: [PATCHES] cypg.dll, libpq_a, initdb max_connections 60

2004-10-09 Thread Reini Urban
Tom Lane schrieb: Reini Urban <[EMAIL PROTECTED]> writes: With this patch we might want to rename libpq.a to libpq.dll.a in our install step later. Isn't ".dll.a" a contradiction in terms? This doesn't seem well-thought-out at all to me. Also the end result would hav

Re: [PATCHES] [HACKERS] more dirmod CYGWIN

2004-10-07 Thread Reini Urban
Bruce Momjian schrieb: Reini Urban wrote: Bruce Momjian schrieb: I have applied all parts of your patch now. Thanks. Core builds and works fine now. (plperl IPC problems aside) But there's are still some more minor SHLIB glitches, which only affects contrib, because -lpgport is missing for va

Re: [PATCHES] pg_regress --temp-keep

2004-10-19 Thread Reini Urban
target: "install-regress" and collect only the needed binaries, shared libs, timezone and intl stuff. ah, even this is not needed. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ ---(end of broadcast)--- TIP 3: if posting/reading t

Re: [PATCHES] [CYGWIN] Where is the link to cygwin?

2004-10-19 Thread Reini Urban
Marek Lewczuk schrieb: Reini Urban wrote: Richard Sydney-Smith schrieb: A new initd script will come with 8.0, which just calls pg_ctl and adds service install/uninstall args. Reini, a few days ago you wrote that you are working on plperl patch for cygwin - how are doing with this ? well, bruce

[PATCHES] contrib/tsearch2 missing LIBS

2004-10-27 Thread Reini Urban
/contrib modules, not sure why - SHLIB_LINK += -lpgport + SHLIB_LINK += $(LIBS) endif ifeq ($(PORTNAME), win32) -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ ---(end of broadcast)--- TIP 8: explain analyze is your friend

Re: [PATCHES] Add remove duplicate slashes to canonicalize_path()

2004-11-07 Thread Reini Urban
n32 *o remove trailing slash *o remove trailing '.' *o process trailing '..' ourselves At the first glance I thought this will break Win95 (via cygwin), but it really is ok, 'cause all the paths go through cygwin. -- Reini Urban htt

Re: [PATCHES] [HACKERS] cygwin build failure

2004-11-07 Thread Reini Urban
prevent the pg_dump/Makefile hack on MinGW too! Working on a patch now. --- Bruce Momjian wrote: Andrew Dunstan wrote: Reini Urban wrote: ... >Info: resolving _optarg by linking to __imp__optarg (auto-import) >Info: res

Re: [PATCHES] fix for windows breakage in regression script

2005-01-15 Thread Reini Urban
#x27;t broke .../ Without sockets it's just a bit slower. Otherwise I don't care. It should work on Cygwin with and without. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ ---(end of broadcast)--- TIP 9: the planner will ignore you