[PATCHES] Win32 regression fix

2004-03-02 Thread Bruce Momjian

Patch attached and applied.  Thanks.

---

> Adds the -W flag to the pwd call under Win32. This allows directories,
> which are munged by sed, such as:
> /e/cygwin/opt/diff9c/pgsql/src/test/regress/data/agg.data to be
> correctly passed as:
> e:/cygwin/opt/diff9c/pgsql/src/test/regress/data/agg.data
> 
> FWIW, "fixes" a large (> 20) tests under Win32.

-- 
  Bruce Momjian|  http://candle.pha.pa.us
  [EMAIL PROTECTED]   |  (610) 359-1001
  +  If your life is a hard drive, |  13 Roberts Road
  +  Christ can be your backup.|  Newtown Square, Pennsylvania 19073
Index: src/test/regress/GNUmakefile
===
RCS file: /cvsroot/pgsql-server/src/test/regress/GNUmakefile,v
retrieving revision 1.45
diff -c -c -r1.45 GNUmakefile
*** src/test/regress/GNUmakefile23 Dec 2003 21:56:21 -  1.45
--- src/test/regress/GNUmakefile3 Mar 2004 04:20:11 -
***
*** 73,80 
--- 73,86 
  
  all: $(input_files) $(output_files)
  
+ ifneq ($(PORTNAME),win32)
  abs_srcdir := $(shell cd $(srcdir) && pwd)
  abs_builddir := $(shell pwd)
+ else
+ abs_srcdir := $(shell cd $(srcdir) && pwd -W)
+ abs_builddir := $(shell pwd -W)
+ endif
+ 
  
  define sed-command
  sed -e 's,@abs_srcdir@,$(abs_srcdir),g' \

---(end of broadcast)---
TIP 3: if posting/reading through Usenet, please send an appropriate
  subscribe-nomail command to [EMAIL PROTECTED] so that your
  message can get through to the mailing list cleanly


Re: [PATCHES] 1-line fix to port/thread.c for compiling libpq with Borland

2004-03-02 Thread Bruce Momjian

Patch applied.  Seem that was the only missing place.  Backpatched to
7.4.X.

---

L J Bayuk wrote:
> Below please find a tiny patch to PostgreSQL-7.4.1 src/port/thread.c that I
> found was necessary to compile libpq on Windows using Borland C++ Builder.
> The patch causes the the WIN32 code to be included, and  skipped, if
> under either WIN32 compiler, rather than just with MSVC.
> (Alternative is to just use "#if defined(WIN32)", which works for me, but
> I don't know if that would be safe.)
> 
> 
> *** src/port/thread.c.origMon Nov 24 08:11:27 2003
> --- src/port/thread.c Tue Feb 24 19:19:35 2004
> ***
> *** 16,22 
>   
>   #include 
>   #include 
> ! #if defined(WIN32) && defined(_MSC_VER)
>   #undef ERROR
>   #else
>   #include 
> --- 16,22 
>   
>   #include 
>   #include 
> ! #if defined(WIN32) && (defined(_MSC_VER) || defined(__BORLANDC__))
>   #undef ERROR
>   #else
>   #include 
> 
> 
> ---(end of broadcast)---
> TIP 7: don't forget to increase your free space map settings
> 

-- 
  Bruce Momjian|  http://candle.pha.pa.us
  [EMAIL PROTECTED]   |  (610) 359-1001
  +  If your life is a hard drive, |  13 Roberts Road
  +  Christ can be your backup.|  Newtown Square, Pennsylvania 19073

---(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


Re: [PATCHES] Turkish translation of FAQ (fwd)

2004-03-02 Thread Tom Lane
Bruce Momjian <[EMAIL PROTECTED]> writes:
>> I cannot see this in the CVS. Could someone please apply it? I'd like it 
>> to be in 7.3.6 :(

> I was away last week and I think 7.4.X and 7.3.X are already packaged. 
> Applied to HEAD and 7.4.X.

7.3.6 is already wrapped, but 7.4.2 is not, so the above is good.

regards, tom lane

---(end of broadcast)---
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])


Re: [PATCHES] Turkish translation of FAQ (fwd)

2004-03-02 Thread Bruce Momjian
> Hi,
> 
> I cannot see this in the CVS. Could someone please apply it? I'd like it 
> to be in 7.3.6 :(

I was away last week and I think 7.4.X and 7.3.X are already packaged. 
Applied to HEAD and 7.4.X.

-- 
  Bruce Momjian|  http://candle.pha.pa.us
  [EMAIL PROTECTED]   |  (610) 359-1001
  +  If your life is a hard drive, |  13 Roberts Road
  +  Christ can be your backup.|  Newtown Square, Pennsylvania 19073

---(end of broadcast)---
TIP 8: explain analyze is your friend


Re: [PATCHES] Turkish translation of FAQ

2004-03-02 Thread Bruce Momjian

Applied to head and 7.4.X.

---

Devrim GUNDUZ wrote:
[ PGP not available, raw data follows ]
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> 
> Hi,
> 
> I've sent Turkish translations of FAQ yesterdat; in html and text
> formats, but the mail wasn't delivered to the list.
> 
> To save bandwidth, I'll not be attaching the files to this mail. Here is 
> the URL:
> 
> http://www.gunduz.org/seminer/pg/PostgreSQL-FAQ-Turkish.tar.gz
> 
> Could you please apply them to CVS?
>  
> Regards,
> - -- 
> Devrim GUNDUZ
> [EMAIL PROTECTED] [EMAIL PROTECTED] 
>   http://www.TDMSoft.com
>   http://www.gunduz.org
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.2.1 (GNU/Linux)
> 
> iD8DBQFAO1JZtl86P3SPfQ4RAiU1AJ9ex2IjCmvIYbStGr5meJoEY5y+6QCfa8sG
> CN0l/lqtNUZq9dwAsnXXZQM=
> =oepu
> -END PGP SIGNATURE-
> 
> 
> ---(end of broadcast)---
> TIP 3: if posting/reading through Usenet, please send an appropriate
>   subscribe-nomail command to [EMAIL PROTECTED] so that your
>   message can get through to the mailing list cleanly
> 
[ End of raw data]

-- 
  Bruce Momjian|  http://candle.pha.pa.us
  [EMAIL PROTECTED]   |  (610) 359-1001
  +  If your life is a hard drive, |  13 Roberts Road
  +  Christ can be your backup.|  Newtown Square, Pennsylvania 19073

---(end of broadcast)---
TIP 3: if posting/reading through Usenet, please send an appropriate
  subscribe-nomail command to [EMAIL PROTECTED] so that your
  message can get through to the mailing list cleanly


[PATCHES] Turkish translation of FAQ (fwd)

2004-03-02 Thread Devrim GUNDUZ
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Hi,

I cannot see this in the CVS. Could someone please apply it? I'd like it 
to be in 7.3.6 :(

Regards,
- -- Forwarded message --
Date: Tue, 24 Feb 2004 15:32:06 +0200 (EET)
From: Devrim GUNDUZ <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Cc: Volkan YAZICI <[EMAIL PROTECTED]>
Subject: [PATCHES] Turkish translation of FAQ

- --[PinePGP]--[begin]--

Hi,

I've sent Turkish translations of FAQ yesterday; in html and text
formats, but the mail wasn't delivered to the list.

To save bandwidth, I'll not be attaching the files to this mail. Here is
the URL:

http://www.gunduz.org/seminer/pg/PostgreSQL-FAQ-Turkish.tar.gz

Could you please apply them to CVS?

Regards,
- --
Devrim GUNDUZ
[EMAIL PROTECTED]   [EMAIL PROTECTED]
http://www.TDMSoft.com
http://www.gunduz.org
- --[PinePGP]---
gpg: Signature made Tue 24 Feb 2004 03:32:09 PM EET using DSA key ID 748F7D0E
gpg: Good signature from "Devrim Gunduz <[EMAIL PROTECTED]>"
- --[PinePGP][end]--
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFARIpStl86P3SPfQ4RAo/3AKCIGmTmYRPLjImS7VfNGeBALvLQbACgl+FC
fMZZTQjT6y//XBYXeq/neKA=
=49Br
-END PGP SIGNATURE-


---(end of broadcast)---
TIP 3: if posting/reading through Usenet, please send an appropriate
  subscribe-nomail command to [EMAIL PROTECTED] so that your
  message can get through to the mailing list cleanly