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

2005-01-15 Thread Andrew Dunstan

Tom Lane wrote:
Andrew Dunstan [EMAIL PROTECTED] writes:
 

Tom Lane said:
   

[ scratches head... ]  Why isn't the #undef in pg_config_manual.h
firing on Cygwin?
 

 

But on Cygwin, WIN32 is only defined if windows.h has been included (See
previous discussion - I recall advocating NOT using WIN32 as a marker for
just this reason).
   

Urgh ... so it's only because windows.h isn't included till later that
it works properly.
 

It's a lot more subtle than that :-( .  In most cases we end up 
including windows.h _only_ if WIN32 is already defined, as it is for us 
by the compiler on MinGW.

see: http://archives.postgresql.org/pgsql-hackers/2004-09/msg00206.php 
and http://archives.postgresql.org/pgsql-hackers/2004-09/msg00256.php

w.r.t. Cygwin / unix sockets, the test is in port/cygwin.h, and says:
#if CYGWIN_VERSION_DLL_MAJOR  1001
#undef HAVE_UNIX_SOCKETS
#endif
I don't know how old that is.
I'm not sure that we need the code in pg_config_manual.h anymore anyway
--- the configure test should be covering this.  But just before release
is no time to be fooling with such things.
 

agreed.
I did add cygwin to the unix_socket=no case in pg_regress, and I'm
inclined to leave it that way because it's really the minimal change
from the script's previous behavior on cygwin.  Do you see a strong
reason for undoing that?
 

Well, nothing seems broken - see buildfarm. And if it ain't broke .../
cheers
andrew
/
---(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] Latest Turkish translation updates

2005-01-15 Thread Devrim GUNDUZ
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
These are the latest updates:
http://postgresql.gunduz.org/translation/PostgreSQL-8.0/PgSQL-DilDosyalari/initdb-tr.po
http://postgresql.gunduz.org/translation/PostgreSQL-8.0/PgSQL-DilDosyalari/pg_config-tr.po
http://postgresql.gunduz.org/translation/PostgreSQL-8.0/PgSQL-DilDosyalari/pg_ctl-tr.po
http://postgresql.gunduz.org/translation/PostgreSQL-8.0/PgSQL-DilDosyalari/pg_dump-tr.po
http://postgresql.gunduz.org/translation/PostgreSQL-8.0/PgSQL-DilDosyalari/postgres-tr.po
http://postgresql.gunduz.org/translation/PostgreSQL-8.0/PgSQL-DilDosyalari/psql-tr.po
BTW... Peter, we see some errors on postgres-tr.po file, on nlsstatus 
page 
(http://developer.postgresql.org/~petere/nlsstatus/po-current/postgres-tr.po.err)
po/postgres-tr.po:9383: number of format specifiers in msgid and msgstr 
does not match

We can't reproduce it with msgfmt -v. How do you get those errors?
Regards,
- --
Devrim GUNDUZ 
devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.tdmsoft.com http://www.gunduz.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFB6R/ltl86P3SPfQ4RAlB9AKCeg25NvhQlnYeT8YG/ZuDI16o1JACgxTRK
A+52hU+WAZ0KQTK8U4q9wTc=
=uvlT
-END PGP SIGNATURE-
---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster


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

2005-01-15 Thread Reini Urban
Andrew Dunstan schrieb:
Tom Lane wrote:
Andrew Dunstan [EMAIL PROTECTED] writes:
Tom Lane said:
[ scratches head... ]  Why isn't the #undef in pg_config_manual.h
firing on Cygwin?

But on Cygwin, WIN32 is only defined if windows.h has been included (See
previous discussion - I recall advocating NOT using WIN32 as a marker 
for
just this reason).
Urgh ... so it's only because windows.h isn't included till later that
it works properly.
It's a lot more subtle than that :-( .  In most cases we end up 
including windows.h _only_ if WIN32 is already defined, as it is for us 
by the compiler on MinGW.

see: http://archives.postgresql.org/pgsql-hackers/2004-09/msg00206.php 
and http://archives.postgresql.org/pgsql-hackers/2004-09/msg00256.php

w.r.t. Cygwin / unix sockets, the test is in port/cygwin.h, and says:
#if CYGWIN_VERSION_DLL_MAJOR  1001
#undef HAVE_UNIX_SOCKETS
#endif
I don't know how old that is.
This is a perfectly good logic.
I'm not sure that we need the code in pg_config_manual.h anymore anyway
--- the configure test should be covering this.  But just before release
is no time to be fooling with such things.

agreed.
I did add cygwin to the unix_socket=no case in pg_regress, and I'm
inclined to leave it that way because it's really the minimal change
from the script's previous behavior on cygwin.  Do you see a strong
reason for undoing that?
Well, nothing seems broken - see buildfarm. And if it ain'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 your desire to choose an index scan if your
 joining column's datatypes do not match


[PATCHES] Small fix in FAQ

2005-01-15 Thread Euler Taveira de Oliveira
Hi,

This is a small fix in FAQ.html.

Please apply it to HEAD.


=
Euler Taveira de Oliveira
euler[at]yahoo_com_br





___ 
Yahoo! Acesso Grátis - Instale o discador do Yahoo! agora. 
http://br.acesso.yahoo.com/ - Internet rápida e grátis

faq.diff
Description: faq.diff

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


[PATCHES] FAQ update: pt_BR

2005-01-15 Thread Euler Taveira de Oliveira
Hi,

This is an update for FAQ_brazilian.html.

Please apply to HEAD (before release if possible).


=
Euler Taveira de Oliveira
euler[at]yahoo_com_br





___ 
Yahoo! Acesso Grátis - Instale o discador do Yahoo! agora. 
http://br.acesso.yahoo.com/ - Internet rápida e grátis

faq-pt-br.diff.gz
Description: faq-pt-br.diff.gz

---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?

   http://www.postgresql.org/docs/faqs/FAQ.html


Re: [PATCHES] FAQ update: pt_BR

2005-01-15 Thread Bruce Momjian

Patch applied.  Thanks.

---


Euler Taveira de Oliveira wrote:
 Hi,
 
 This is an update for FAQ_brazilian.html.
 
 Please apply to HEAD (before release if possible).
 
 
 =
 Euler Taveira de Oliveira
 euler[at]yahoo_com_br
 
 
   
   
   
 ___ 
 Yahoo! Acesso Gr?tis - Instale o discador do Yahoo! agora. 
 http://br.acesso.yahoo.com/ - Internet r?pida e gr?tis

Content-Description: faq-pt-br.diff.gz

[ Attachment, skipping... ]

 
 ---(end of broadcast)---
 TIP 5: Have you checked our extensive FAQ?
 
http://www.postgresql.org/docs/faqs/FAQ.html

-- 
  Bruce Momjian|  http://candle.pha.pa.us
  pgman@candle.pha.pa.us   |  (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] Small fix in FAQ

2005-01-15 Thread Bruce Momjian

Patch applied.  Thanks.

---


Euler Taveira de Oliveira wrote:
 Hi,
 
 This is a small fix in FAQ.html.
 
 Please apply it to HEAD.
 
 
 =
 Euler Taveira de Oliveira
 euler[at]yahoo_com_br
 
 
   
   
   
 ___ 
 Yahoo! Acesso Gr?tis - Instale o discador do Yahoo! agora. 
 http://br.acesso.yahoo.com/ - Internet r?pida e gr?tis

Content-Description: faq.diff

[ Attachment, skipping... ]

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

-- 
  Bruce Momjian|  http://candle.pha.pa.us
  pgman@candle.pha.pa.us   |  (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 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]