Re: [BUGS] BUG #2466: lock issues...

2006-06-05 Thread Qingqing Zhou
""P.P.S. Narayan"" <[EMAIL PROTECTED]> wrote > > However, there are a bunch of http requests that come in after the hanging > request, which get deadlocked on the locks held by the hanging request. AS > far as I have read, there is a lock_timeout parameter in postgresql config > file to timeout af

Re: [BUGS] statement stuck when the connection grew up to 45 or more

2006-06-01 Thread Qingqing Zhou
<[EMAIL PROTECTED]> wrote > > Recently I facing one problem, when the connection for postgresql grow > up > to 45 or more, when I trigger a statement from WebApp > this statement will stuck forever. > I try to kill this transaction and then trigger the same statement > again > but it still the s

Re: [BUGS] BUG #2442: Problemas accessing DB in a multithread pross

2006-05-17 Thread Qingqing Zhou
""Carmen"" <[EMAIL PROTECTED]> wrote > > I have a Windows system accesing a FreeBSD PostGres 8.0. > I have a multihread process in Windows using a PostGres 8.0 FreeBSD. Each > thread of this process has a TCP communicaction with a remote client and it > updates a common BD of the global process. >

Re: [BUGS] BUG #2371: database crashes with semctl failed error

2006-04-24 Thread Qingqing Zhou
""Peter Brant"" <[EMAIL PROTECTED]> wrote > > I'm afraid we're in the same category as everyone else with no good way > to reproduce the bug, but is there anything else we could do if this > happens again? > There is a "Win32 semaphore patch" in the patch list, but we are lack of evidence to prov

Re: [BUGS] [Win32] Problem with rename()

2006-04-17 Thread Qingqing Zhou
""Peter Brant"" <[EMAIL PROTECTED]> > > In the last couple of days, we've been bitten (a couple of times, on > different servers) by an apparent glitch or bad interaction in the > Windows implementation of rename(). > > The relevant log message is: > > [2006-04-17 16:49:22.583 ] 2252 LOG: could n

Re: [BUGS] BUG #2381: LIMIT 1 very very lazy than without

2006-04-09 Thread Qingqing Zhou
""Peter Krauss"" <[EMAIL PROTECTED]> wrote > > The single query (on psql) is fary fast > (less than 1 sec) > > SELECT a,b,c,d FROM products_view WHERE > sku='0-123-0-0-6024-20' > OR lower(codfornecedor)=lower('0-123-0-0-6024-20') > OR lower(eanfor)=lower('0-123-0-0-6024-20') > OR lower(refpro

Re: [BUGS] BUG #2371: database crashes with semctl failed error

2006-04-05 Thread Qingqing Zhou
""Brock Peabody"" <[EMAIL PROTECTED]> wrote > > Do you think this is a Windows only problem? > I am afraid so. We have received 3 reports of this (or quite similar) problem, all in 8.1/windows. I just noticed that yours is actually an EAGAIN error, so the loop patch in semctl() doesn't work I gue

Re: [BUGS] contrib/intarray/_int_gist.c

2006-04-05 Thread Qingqing Zhou
<[EMAIL PROTECTED]> wrote > In "g_int_compress" : > > > int*dr; > ... > memmove((void *) &dr[cand - 1], (void *) &dr[cand + 1], (len - cand - > 1) * sizeof(int)); > > Should be > > int32 *dr; > ... > memmove((void *) &dr[cand - 1], (void *) &dr[cand + 1], (len - cand - > 1)

Re: [BUGS] BUG #2371: database crashes with semctl failed error

2006-04-05 Thread Qingqing Zhou
""Brock Peabody"" <[EMAIL PROTECTED]> wrote > > FATAL: semctl(167894456, 4, SETVAL, 0) failed: A non-blocking socket > operation could not be completed immediately. > Can you reliablly reproduce the problem? If so, we may come up with a testing patch to it. We encounter similar problems before b

Re: [BUGS] inpricise checkpoint stats

2006-03-22 Thread Qingqing Zhou
"Tom Lane" <[EMAIL PROTECTED]> wrote > "Qingqing Zhou" <[EMAIL PROTECTED]> writes: > > The problematic line is "0 written" -- > > What's your point? Those stats are correct for the current process (or > if not, better take it u

[BUGS] inpricise checkpoint stats

2006-03-22 Thread Qingqing Zhou
test=# set log_statement_stats = on; SET test=# checkpoint; LOG: QUERY STATISTICS DETAIL: ! system usage stats: ! 0.100725 elapsed 0.00 user 0.00 system sec ! [0.00 user 0.001999 sys total] ! 0/0 [0/0] filesystem blocks in/out !

Re: [BUGS] BUG #2296: select query error.

2006-03-02 Thread Qingqing Zhou
""Sudhakar"" <[EMAIL PROTECTED]> wrote > > > we are getting the following error while execute select querry. > > airlinklive=# select * from ctcasetrack; > ERROR: Invalid page header in block 1391 of ctcasetrack > Page #1391 is corrupted. Check out the following thread to see if you can save som

[BUGS] prepare-alter-exec issue

2006-03-02 Thread Qingqing Zhou
I encounter a server(8.1.1) problem like this: create table tt(id int); prepare p1(int) as insert into tt values($1); execute p1(3); alter table tt alter id type char(10); execute p1(999); select * from tt; ^ server core dumps here Command "execute p1(999)" wor

Re: [BUGS] FATAL: semctl(1672698088, 12, SETVAL, 0) failed

2006-02-28 Thread Qingqing Zhou
On Tue, 28 Feb 2006, Bruce Momjian wrote: > > Uh, how do we handle it now? I thought we did just that. > > OK, so how do we find the answer? > For both problems, I am uncertain (or I've sent a patch already :-(). Call more artillery support here ... Regards, Qingqing

Re: [BUGS] FATAL: semctl(1672698088, 12, SETVAL, 0) failed

2006-02-28 Thread Qingqing Zhou
"Bruce Momjian" wrote > > In port/win32.h, we have > > > > #undef EAGAIN > > #undef EINTR > > #define EINTR WSAEINTR > > #define EAGAIN WSAEWOULDBLOCK > > > > What's the rationale of doing so? > > We did this so that our code could refer to EINTR/EAGAIN without > port-specific tests. > AFAICS, b

Re: [BUGS] BUG #2279: invalid page header in block 95 of newtrd

2006-02-26 Thread Qingqing Zhou
""herianto"" <[EMAIL PROTECTED]> wrote > > Every I will query select * from namaTable , I get Error invalid page > header. but if me use query select * from namaTable limit 1008. I get Query > is successfully. > > Total rows of tables is 1009. while if me query select * from namaTable > limit 10

[BUGS] FATAL: semctl(1672698088, 12, SETVAL, 0) failed

2006-02-21 Thread Qingqing Zhou
I encountered an error when I fast shutdown 8.1.1 on Win2k: FATAL: semctl(1672698088, 12, SETVAL, 0) failed: A blocking operation was interrupted by a call to WSACancelBlockingCall. A similar error on 8.1/win2003 was reported on pgsql-general (sorry, I can't dig out the original post fr

Re: [BUGS] BUG #2168: 45.000.000 records too much?

2006-01-14 Thread Qingqing Zhou
""Steven Mooij"" <[EMAIL PROTECTED]> wrote > > > Tried to copy the result of a join into another table, about 45.000.000 > (small) records. This is the result: > > testsearch=> insert into t_documentword2 (SELECT document_id, t_word2.id, > frequency from t_documentword, t_word2 where t_documentwor

Re: [BUGS] BUG #2167: Performance degradation

2006-01-13 Thread Qingqing Zhou
""Sunil Basu"" <[EMAIL PROTECTED]> wrote > > Previously I used to insert records into the postgresql database > unconditionally. That is everytime a data comes it is stored in the > postgresql. So I land up with some redundant data always. > But the operation was smooth and near about 600 records

Re: [BUGS] BUG #2135: system error 182 while loading ODBC driver

2006-01-03 Thread Qingqing Zhou
""Carlos del Cacho"" <[EMAIL PROTECTED]> wrote > > The following bug has been logged online: > > Bug reference: 2135 > Logged by: Carlos del Cacho > Email address: [EMAIL PROTECTED] > PostgreSQL version: 8.1.1 > Operating system: Win2k > Description:system error 182 wh

Re: [BUGS] BUG #2113: PostgreSQL hangs after running for 2 days

2005-12-14 Thread Qingqing Zhou
""Wojciech Sobczuk"" <[EMAIL PROTECTED]> wrote > > I have a 16GB database which is very busy (100 requests per second). > After > running for some time (sometimes 2 days sometimes longer sometimes > shorter) > postgres hangs. Can you follow the steps in this thread to find out what's going on o

Re: [BUGS] pgsql8.1: About COPY Command and system clomn oid

2005-12-10 Thread Qingqing Zhou
"wangshj" <[EMAIL PROTECTED]> wrote > > oidtest=# COPY oidtest (name) WITH OIDS FROM stdin; > Enter data to be copied followed by a newline. > End with a backslash and a period on a line by itself. >>> 54513copyname >>> \. > oidtest=# INSERT INTO oidtest ( name ) VALUES( 'name2' ) ; > INSE

Re: [BUGS] Is this a bug????

2005-12-04 Thread Qingqing Zhou
"Joost Kraaijeveld" <[EMAIL PROTECTED]> wrote > > select objectid,defaulttermsofpayment from prototype.customers > where > objectid = '336A0451-D9E8-7C11-6333-C17DF18E8979' > > I get the following answer: > > "336A0451-D9E8-7C11-6333-C17DF18E8979";"null" > test=# create table m (c1 char(10), c2 c

Re: [BUGS] strange disappearence of postgres file

2005-11-23 Thread Qingqing Zhou
On Wed, 23 Nov 2005, Harald Armin Massa wrote: > > no, it is definitely NOT a temp table. I know which table it is, > because: that "could not open relation ..." error message was exactly > provokable with "select * from repofeld", which is one of my tables in > that database. > What is your file

Re: [BUGS] BUG #2063: Unsupported frontend protocol

2005-11-22 Thread Qingqing Zhou
""neeraj chaudhari"" <[EMAIL PROTECTED]> wrote > > FATAL: unsupported frontend protocol > FATAL: unsupported frontend protocol > FATAL: unsupported frontend protocol > > Then to i am able to connect to the database & access & modify the > records. > It looks like your client guesses out the r

Re: [BUGS] strange disappearence of postgres file

2005-11-22 Thread Qingqing Zhou
"Harald Armin Massa" <[EMAIL PROTECTED]> wrote > > 2005-11-21 09:45:50 ERROR: could not open relation 1663/17253/43471: No > such > file or directory > > My checking showed that... within directory data/base/17253 there is > indeed > no file named 43471; but ones named 43470,43472,43473 . >

Re: [BUGS] BUG #2048: initdb hang up

2005-11-21 Thread Qingqing Zhou
""Acure"" <[EMAIL PROTECTED]> wrote > > > As pgsql user i execute initdb : > > "initdb -U pgsql -W -D datapl" > > > > and it stop on : > > "creating template1 database in tescik/base/1 ..." > Why you set "datapl" as the data directory but you get a "tescik"? Also, to see where it stops,

Re: [BUGS] BUG #2030: Chinese character support error

2005-11-12 Thread Qingqing Zhou
""Dragon"" <[EMAIL PROTECTED]> wrote > > When I install postgresql server,I can not find the chinese charactor > GB2312 > or GBK or GB18310 , and In the pgAdmin III when I create a database, in > the > Dialog I can not select Encoding GBK or other Chinese Encoding, > "A error orccured > Error :G

Re: [BUGS] ECPG: "char*" instead of "const char*" in ecpglib.h

2005-11-12 Thread Qingqing Zhou
On Wed, 9 Nov 2005, Tomasz Ostrowski wrote: > > Using "char*" as an argument type instead of "const char*" in ecpglib.h > causes that for example the following sample program, basically > copied from docmentation > http://www.postgresql.org/docs/8.1/interactive/ecpg-dynamic.html , > does not comp

Re: [BUGS] BUG #2038: fetch items truncated

2005-11-12 Thread Qingqing Zhou
""wgh"" <[EMAIL PROTECTED]> wrote > > I use PowerBuilder8.0, i use ODBC to connect postgers8,i was in china,i > use > chinese, it have datawindow error :fetch item error!! > Does ODBC returns any non SQL_SUCCESS information? To find it out, enable the ODBC trace log and search for it. Regards,

Re: [BUGS] storage sync failed on magnetic disk: Permission denied

2005-11-12 Thread Qingqing Zhou
"Valery Bondarenko" <[EMAIL PROTECTED]> wrote: > Situation first occurs on _CLEAN_ Win2k server with 8.0.0 Installed by his > installer (woops :) ). > And it continues to... > Also I got it in a realy "dirty" environment with 8.1. > > But in both cases there were no antiviruses and (AFAIK) no prod

Re: [BUGS] storage sync failed on magnetic disk: Permission denied

2005-11-12 Thread Qingqing Zhou
"Tom Lane" <[EMAIL PROTECTED]> wrote >> When the cluster performs a massive disk operations (like nightly >> vacuuming or smth) >> I offten got such error in log file: >> 2005-11-12 14:52:29 LOG: could not fsync segment 0 of relation >> 1663/17735/210608: Permission denied > >> It looked like as i

Re: [BUGS] is this a bug or do I not understand the query planner?

2005-11-03 Thread Qingqing Zhou
"Rob Prowel" <[EMAIL PROTECTED]> wrote > two almost identical queries: one searches for > > read in ('N','n') > > and the other searches for > > read in ('Y','y'). > > the (explain) SQL statement says that one uses the > index on the (read) field and the other does a > sequential table scan. Why!

Re: [BUGS] make PROFILE=-pg segment fault

2005-11-01 Thread Qingqing Zhou
"Tom Lane" <[EMAIL PROTECTED]> wrote > > Works fine for me in Fedora Core 4. Something broken about your > platform, is my guess ... > You may want to talk to our system admin :-) ... but it doesn't look like caused by some strange environment ... /h/164/zhouqq/pginstall/bin#uname -a Linux eon.

[BUGS] make PROFILE=-pg segment fault

2005-11-01 Thread Qingqing Zhou
I do "make PROFILE=-pg" on top level, seems everything is ok. When postmaster starts up, gmon.out is generated. But when I do use psql to connect to postmaster, a repeatable segment fault happens no matter what command you do in psql: sh-2.05a$ psql test Welcome to psql 8.1RC1, the PostgreSQL int

[BUGS] Inconsistent description of "postmaster.opts"

2005-10-27 Thread Qingqing Zhou
--- Sample output --- $/bin/data#more postmaster.opts */bin/postgres -D data $/bin/data#cd .. $/bin#pg_ctl -Ddata start postmaster starting $/bin#LOG: database system was shut down at 2005-10-27 03:17:17 EDT LOG: checkpoint record is at 0/33AE4C LOG: redo record is at 0/33AE4C; undo record is at

Re: [BUGS] BUG #1985: cannot insert Chinese character into a table encoded with UTF8

2005-10-23 Thread Qingqing Zhou
""Jeff Tong"" <[EMAIL PROTECTED]> wrote > > The following bug has been logged online: > > Bug reference: 1985 > Logged by: Jeff Tong > Email address: [EMAIL PROTECTED] > PostgreSQL version: 8.1beta3 > Operating system: Windows XP > Description:cannot insert Chinese cha

Re: [BUGS] Possibly corrupted shared memory, PostgreSQL 8.1 beta2, Windows 2000

2005-10-07 Thread Qingqing Zhou
""Jean-Pierre Pelletier"" <[EMAIL PROTECTED]> wrote > Turning off the antivirus fixed the problem. > We haven't have any read/write/open error in more > than two days. > > Thank you very much for your help and keep up the good work. > You are welcome :-) But I still suspect if this really solves

Re: [BUGS] Possibly corrupted shared memory, PostgreSQL 8.1 beta2, Windows 2000

2005-10-05 Thread Qingqing Zhou
""Jean-Pierre Pelletier"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Yes, there is an antivirus software on the machine, a reboot is needed > when it's turned off, > I'll be allowed to reboot it tonight or I'll do it sooner if it crashes > before that. > > There are around

Re: [BUGS] Possibly corrupted shared memory, PostgreSQL 8.1 beta2, Windows 2000

2005-10-04 Thread Qingqing Zhou
""Jean-Pierre Pelletier"" <[EMAIL PROTECTED]> wrote > > I've installed PostgreSQL 8.1 beta2 five days ago and it crashed 3 times > since then. > Here is what's been logged for the last crash > > 2005-10-04 11:00:19 FATAL: could not read block 121 of relation > 1663/16384/2608: Invalid argument

Re: [BUGS] BUG #1856: chinese sort error

2005-08-31 Thread Qingqing Zhou
""tk"" <[EMAIL PROTECTED]> wrote > > The following bug has been logged online: > > Bug reference: 1856 > Logged by: tk > Email address: [EMAIL PROTECTED] > PostgreSQL version: 7.0.3 > Operating system: linux > Description:chinese sort error > Details: > > chinese sort e

Re: [BUGS] Server broken down in covering GB18030

2005-08-04 Thread Qingqing Zhou
My theory is "select;" incurs a parse error and this error message is supposed to be translated into your encoding, but unfortunately not every UTF8 character is necessarily be encoded as GB18030, which will cause an infinite recursive elogs just like this: 1:elog(parse_error)// contain u

Re: [BUGS] concurrent drop table with fkeys corrupt pg_trigger

2005-05-26 Thread Qingqing Zhou
"Qingqing Zhou" <[EMAIL PROTECTED]> writes > If we concurrently perform drop/create table (with foreign keys) commands > several times, we could corrupt the pg_trigger system table. > Anybody reproduced it? Regards, Qingqing ---

Re: [BUGS] How to intall postgresql-docs-7.4.6 on win2000?

2005-05-02 Thread Qingqing Zhou
Pg7.4.x does not have a native win32 support. You can install it from cygwin or download the latest stable version 8.0.2 (recommended). Regards, Qingqing "ÍõÁÁ" <[EMAIL PROTECTED]> дÈëÓʼþ news:[EMAIL PROTECTED] Hello: I download the postgresql-docs-7.4.6.tar.gz and unzip it .I can`t intall i

[BUGS] random FlushRelationBuffers() failed on Pg8.0.1 Win32

2005-03-17 Thread Qingqing Zhou
PG version = "PostgreSQL 8.0.1 on i686-pc-mingw32, compiled by GCC gcc.exe (GCC) 3.2.3 (mingw special 20030504-1)" Attached is the regression result of my test on Pg8.0.1 win32. The problem is quite random. On the second round, it just disappeared. first round --

Re: [BUGS] could not read, could not write, could not fsync, Windows 2000, PostgreSQL 8.0.1

2005-03-13 Thread Qingqing Zhou
I encounter the similar problem in "make check" (win2k-mingw, 8.0.1). The regression test could randomly fail due to "could not write block (Invalid argument)" problem or could not "remove file" problem. Regards, Qingqing p.s. I believe this could be a potential serious problem, so I forward it t