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

2004-08-24 Thread Reini Urban
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 pgport_palloc versions yet

[PATCHES] 8.0.0b1: configure.in cygipc

2004-08-26 Thread Reini 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] cygipc

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
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. --- Reini Urban

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 Momjian

Re: [PATCHES] time_t timezone

2004-08-31 Thread Reini Urban
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-09-01 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-09-01 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.at/home/rurban

Re: [PATCHES] time_t timezone

2004-09-01 Thread Reini Urban
. --- 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/007908799/xsh/timezone.html oops! sorry

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 datatype of the timezone

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 may

Re: [PATCHES] time_t timezone

2004-09-02 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 Single Unix Spec

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 timezone

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 windows.h is included. (/usr/incluse/w32api/windef.h) If you want this or that, do proper

Re: [PATCHES] [HACKERS] more dirmod CYGWIN

2004-09-10 Thread Reini Urban
+ 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-16 Thread Reini Urban
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 Cygwin problems before. Not for me

Re: [PATCHES] [HACKERS] more dirmod CYGWIN

2004-10-13 Thread Reini Urban
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 (send

Re: [PATCHES] LDFLAGS overriding

2004-09-30 Thread Reini Urban
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 really

[PATCHES] contrib/spi -lpgport missing

2004-10-04 Thread Reini Urban
(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.24 diff -u

[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.) ---

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

2004-10-09 Thread Reini Urban
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 Sun Sep 26 04:14:47 2004

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 have to be much more invasive than

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 various

Re: [PATCHES] pg_regress --temp-keep

2004-10-19 Thread Reini Urban
, even this is not needed. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ ---(end of broadcast)--- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message

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
- 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
*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 http://xarch.tu-graz.ac.at/home

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

2005-01-15 Thread Reini Urban
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 your desire to choose an index scan if your joining column's datatypes do not match