diff -p nls.mk nls.mk.orig
*** nls.mk Thu Jan 20 01:48:42 2005
--- nls.mk.orig Thu Jan 20 01:48:16 2005
***
*** 1,6
# $PostgreSQL: pgsql/src/bin/pg_dump/nls.mk,v 1.18 2004/11/27 22:44:13 petere
Exp $
CATALOG_NAME := pg_dump
! AVAIL_LANGUAGES := cs de es fr it ko
Please add 2 po files for version 8.0.
libpq-ko.po.gz
Description: GNU Zip compressed data
psql-ko.po.gz
Description: GNU Zip compressed data
---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster
this bug is only for win32 system.
On mingw32 random() function have to be initialized by srandom().
so, I put srandom(time(NULL)) line.
and,
Because random() function return integer (2byte), this return integer number
need filtering.
so, I changed random() % 255 line.
on win32, original code
I found that function
gen_salt() in contrib/pgcryptohad bug on win32.
I patched contrib/pgcrypto/random.c file.
--
$ diff random.orig.c random.c 42a43
#include time.h87a89,90
srandom(time(NULL));
89c92
*dst++ =
random();---
dst[i] = (random() % 255);
In src/backend/utils/adt/varlena.c,
766 line must be exits in block of 'else if (elm 1)' too.
Because, strpos() function make a wrong result in multibyte string.
line 796
ps1 = p1 = (pg_wchar *) palloc((len1 + 1) * sizeof(pg_wchar));
(void)
.
strpos returns wrong result.
- Original Message -
From: Tom Lane [EMAIL PROTECTED]
To: Korea PostgreSQL Users' Group [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; Tatsuo Ishii [EMAIL PROTECTED]
Sent: Saturday, January 31, 2004 12:31 AM
Subject: Re: [PATCHES] v7.4.1 text_position() patch
In 7.4.1, intarray module have a problme about equal operator (=).
select * from table where intarray_column = '{}';
above query make error.
because when not equal operator () is made,
this make incorrect equal operator by implicate.
so, I patched.
Patch content is here.
= BEGIN of FILE