Re: [HACKERS] patch for ja.po

2009-05-23 Thread Honda Shigehiro
Thank you, Kasahara-san.

I think this is already patched in cvs of message catalogs. Could you try 
psql.po from 
http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgtranslation/messages/ja/psql.po

regards,
-- 
  Shigehiro Honda
From: Tatsuhito Kasahara kasahara.tatsuh...@oss.ntt.co.jp
Subject: [HACKERS] patch for ja.po
Date: Fri, 22 May 2009 20:59:44 +0900

 Hi.
 
 Here is a asmall patch which fixes bin/psql/po/ja.po.
 Now, psql returns the incorrect number of rows through ja.po.
 (see following)
 
 =# SELECT relname FROM pg_class limit 3;
relname
 --
  pg_type
  user_mapping_options
  user_mappings
 (1 行) - mean 1 rows
 
 best regards,
 -- 
 Tatsuhito Kasahara
 kasahara.tatsuh...@oss.ntt.co.jp

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


[HACKERS] 8.1RC1 on Tru64

2005-10-31 Thread Honda Shigehiro
Hello, 

I tried RC1 on Tru64 box(with Compaq C V6.1-011)) and succeed :
bash-2.05b$ make MAX_CONNECTIONS=2 check
 ...
== shutting down postmaster   ==
postmaster stopped

==
 All 98 tests passed.
==

Environments: 
- $ uname -a
  OSF1 kiss.my.domain V5.0 910 alpha
- Compaq C V6.1-011 on Digital UNIX V5.0 (Rev. 910)
- GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
- result of pg_config
$ src/bin/pg_config/pg_config
BINDIR = /home/postgres/postgresql-8.1RC1/src/bin/pg_config
DOCDIR = /home/postgres/postgresql-8.1RC1/src/bin/doc
INCLUDEDIR = /home/postgres/postgresql-8.1RC1/src/bin/include
PKGINCLUDEDIR = /home/postgres/postgresql-8.1RC1/src/bin/include
INCLUDEDIR-SERVER = /home/postgres/postgresql-8.1RC1/src/bin/include/server
LIBDIR = /home/postgres/postgresql-8.1RC1/src/bin/lib
PKGLIBDIR = /home/postgres/postgresql-8.1RC1/src/bin/lib
LOCALEDIR =
MANDIR = /home/postgres/postgresql-8.1RC1/src/bin/man
SHAREDIR = /home/postgres/postgresql-8.1RC1/src/bin/share
SYSCONFDIR = /home/postgres/postgresql-8.1RC1/src/bin/etc
PGXS = /home/postgres/postgresql-8.1RC1/src/bin/lib/pgxs/src/makefiles/pgxs.mk
CONFIGURE = '--with-includes=/usr/local/include'
CC = cc -std
CPPFLAGS = -I/usr/local/include
CFLAGS = -O -ieee
CFLAGS_SL =
LDFLAGS = -rpath /usr/local/pgsql/lib
LDFLAGS_SL =
LIBS = -lpgport -lz -lreadline -lresolv -lPW -lm -lbsd
VERSION = PostgreSQL 8.1RC1

regards,
-- 
  Shigehiro Honda

---(end of broadcast)---
TIP 2: Don't 'kill -9' the postmaster


Re: [HACKERS] 8.1RC1 on Tru64

2005-10-31 Thread Honda Shigehiro

From: Andrew Dunstan [EMAIL PROTECTED]
Subject: Re: [HACKERS] 8.1RC1 on Tru64
Date: Mon, 31 Oct 2005 11:12:09 -0500

 I tried RC1 on Tru64 box(with Compaq C V6.1-011)) and succeed :
 bash-2.05b$ make MAX_CONNECTIONS=2 check
  
   
 
 
 The seems to be a very low setting for MAX_CONNECTIONS. Any particular 
 reason for that?
This is because my box has too small memory(64MB) to do without this. With 
default 
parameter, my box said Unable to obtain requested swap space...
 
 (side note - we'd very much welcome a Tru64 buildfarm member - if you're 
 interested please email me off list).
... I have been trying to join buildfarm since last weak. But I can not compile 
CVS now...

regards,
-- 
 Shigehiro Honda

---(end of broadcast)---
TIP 1: 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: [HACKERS] Porting/platforms/buildfarm open issues

2005-01-07 Thread Honda Shigehiro
Hello,

This installdirs are worked well. 'make install' succeeds without 
modifying Makefiles.
Thank you.

regards, 
-- 
  Shigehiro Honda

From: Peter Eisentraut [EMAIL PROTECTED]
Subject: Re: [HACKERS] Porting/platforms/buildfarm open issues
Date: Fri, 7 Jan 2005 10:53:56 +0100

 Am Donnerstag, 6. Januar 2005 16:30 schrieb Honda Shigehiro:
  2) mkdir?
  Due to odd behavior of 'mkdir -p' command, I got below error when 'make
  install': mkdir -p -- /usr/local/pgsql/bin /usr/local/pgsql/share
mkdir: cannot create /usr/local/pgsql/share.
/usr/local/pgsql/share: File exists
make[2]: *** [installdirs] Error 2
 
 Would you place the attached version of mkinstalldirs in the config/ 
 directory 
 in the PostgreSQL source tree and try installing again?  (Of course, you 
 might need to delete /usr/local/pgsql first to have the same preconditions.)  
 Please report whether it works better.
 
 -- 
 Peter Eisentraut
 http://developer.postgresql.org/~petere/

---(end of broadcast)---
TIP 7: don't forget to increase your free space map settings


Re: [HACKERS] Porting/platforms/buildfarm open issues

2005-01-06 Thread Honda Shigehiro
Hello.

From: Peter Eisentraut [EMAIL PROTECTED]
Subject: [HACKERS] Porting/platforms/buildfarm open issues
Date: Thu, 6 Jan 2005 11:22:56 +0100

 Tru64 UNIX
I tried RC3 on Tru64 box with cc(Compaq C V6.1-011). There are some errors 
to build and install. All tests (make installcheck) are passed.

bash-2.05b$ uname -a
OSF1 kiss.my.domain V5.0 910 alpha
bash-2.05b$ make installcheck
  ... 
==
 All 96 tests passed.
==

Error Reports: 
(Sorry for my poor English.)
1) configure?
I got below error when simply configure and make:
  /usr/bin/ld -shared -expect_unresolved '*'  fe-auth.o fe-connect.o fe-exec.o 
fe-misc.o fe-print.o fe-lobj.o fe-protocol2.o fe-protocol3.o pqexpbuffer.o 
pqsignal.o fe-secure.o md5.o ip.o wchar.o encnames.o noblock.o pgstrcasecmp.o 
thread.o getaddrinfo.o -L../../../src/port -lresolv  -Wl,-rpath 
-Wl,/usr/local/pgsql/lib -o libpq.so.3.2
  /usr/bin/ld:
  Invalid flag usage: Wl,-rpath, -Wx,-option must appear after -_SYSTYPE_SVR4
  /usr/bin/ld: Usage: /usr/bin/ld [options] file [...]
  make[3]: *** [libpq.so.3.2] Error 1

In Makefile.osf, rpath are defined as 'rpath = -Wl,-rpath -Wl,$(rpathdir)'. 
But, 
Makefile.global were set LD to /usr/bin/ld by configure script:
bash-2.05b$ grep LD  Makefile.global
  LD = /usr/bin/ld

So, I need a patch to build:
bash-2.05b$ diff Makefile.osf.DIST Makefile.osf
4c4
 rpath = -Wl,-rpath -Wl,$(rpathdir)
---
 rpath = -rpath $(rpathdir)

(Because LDREL=-r is fixed in Makefile.global.in and cc command can not pass 
-r
 flag to linker, I did not set LD environment vriable to /usr/bin/cc.)

I believe that it will be no problem if I had used gcc.

2) mkdir?
Due to odd behavior of 'mkdir -p' command, I got below error when 'make 
install':
  mkdir -p -- /usr/local/pgsql/bin /usr/local/pgsql/share
  mkdir: cannot create /usr/local/pgsql/share.
  /usr/local/pgsql/share: File exists
  make[2]: *** [installdirs] Error 2

So, i needed patches below:
bash-2.05b$ diff include/Makefile.DIST include/Makefile
21c21
   nodes optimizer parser port regex rewrite storage tcop utils \
---
   nodes optimizer parser regex rewrite storage tcop utils \
(port directory were specified twice.)

bash-2.05b$ diff backend/Makefile.DIST backend/Makefile
184c184
   $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(datadir)
---
   $(mkinstalldirs) $(DESTDIR)$(datadir) $(DESTDIR)$(bindir)


(The mkdir command(of OS standard) fail if there are no-existing directory in 
middle 
of paths of the argument. For example, 
 bash-2.05b$ mkdir abc   --- success.
 bash-2.05b$ mkdir -p abc abc2   --- success. the last 'abc2' don't exist.
 bash-2.05b$ mkdir -p abc3 abc abc2  --- failure. the first 'abc3' don't exist 
 mkdir: cannot create abc.
 abc: File exists
 bash-2.05b$ mkdir -p abc5 abc5  --- failuer. both of 'abc5' don't exist
 mkdir: cannot create abc5.
 abc5: File exists
)

regards, 
-- 
  Shigehiro Honda

---(end of broadcast)---
TIP 6: Have you searched our list archives?

   http://archives.postgresql.org