Re: [BUGS] BUG #6282: psql.exe cannot recognize specific 2byte SJIS character

2011-11-01 Thread Itagaki Takahiro
t; > These characters have '\'(0x5c) in low byte of 2 Bytes. Please send reproducible input pattern. I saw expected results as long as client encoding is set to SJIS: postgres=# \encoding SJIS postgres=# SELECT '表' AS "ソ"; ソ 表 (1 行) -- Itagaki Taka

Re: [BUGS] BUG #6227: No arguments for COPY OIDS and HEADER

2011-09-27 Thread Itagaki Takahiro
On Wed, Sep 28, 2011 at 11:05, Tom Lane wrote: > "Itagaki Takahiro" writes: >> Our documentation says OIDS and HEADER options in COPY command take [ >> boolean ] arguments, but actually they don't accept any arguments. We can >> only set them to TRUE by s

[BUGS] BUG #6227: No arguments for COPY OIDS and HEADER

2011-09-26 Thread Itagaki Takahiro
The following bug has been logged online: Bug reference: 6227 Logged by: Itagaki Takahiro Email address: itagaki.takah...@gmail.com PostgreSQL version: 9.1 and all Operating system: N/A Description:No arguments for COPY OIDS and HEADER Details: Our documentation

[BUGS] BUG #6181: concat_ws() incompatibility with MySQL

2011-08-29 Thread Itagaki Takahiro
The following bug has been logged online: Bug reference: 6181 Logged by: Itagaki Takahiro Email address: itagaki.takah...@gmail.com PostgreSQL version: 9.1 RC1 (x86) Operating system: Windows 7 (64bit) Description:concat_ws() incompatibility with MySQL Details: For

Re: [BUGS] pgbench -T isn't a hard cutoff.

2011-08-28 Thread Itagaki Takahiro
only expected standard pgbench transactions. Since they are short enough, the difference should not be large. If you have a plan to execute custom queries that take 1 second or more, a hard cut-off makes senses. -- Itagaki Takahiro -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresq

Re: [BUGS] BUG #6056: sorting issues

2011-06-14 Thread Itagaki Takahiro
is just broken or behaves undesirable as a feature. When I created english locale on Windows, it returnes expected results in both cases. Personally, I don't trust locale functions in libc on Linux platforms... -- Itagaki Takahiro -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresq

Re: [BUGS] BUG #6056: sorting issues

2011-06-13 Thread Itagaki Takahiro
lc_collate". Your locale seems to just ignore symbol characters. I have an expected result at least in C locale. -- Itagaki Takahiro -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs

Re: [BUGS] ERROR: character 0xe3809c of encoding "UTF8" has no equivalent in EUC_JP

2011-03-24 Thread Itagaki Takahiro
es just supports one of them. I think it won't be changed in the near term. So, you would need to define a CONVERSION for your purpose as of now. However, I think we could have an extension of conversion procedure set for Japanese confused encodings out of the core. -- Itagaki Takahiro --

Re: [BUGS] ERROR: character 0xe3809c of encoding "UTF8" has no equivalent in EUC_JP

2011-03-22 Thread Itagaki Takahiro
On Wed, Mar 23, 2011 at 13:02, Tatsuo Ishii wrote: > I think what we can do best here is, adding new encoding and default > conversion. Agreed if the encoding is added as an user-defined encoding. I don't want to add built-in encodings only for Japanese language any more. -- Itaga

Re: [BUGS] ERROR: character 0xe3809c of encoding "UTF8" has no equivalent in EUC_JP

2011-03-22 Thread Itagaki Takahiro
in the near term for unicode Emoji issue. -- Itagaki Takahiro -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs

Re: [BUGS] ERROR: character 0xe3809c of encoding "UTF8" has no equivalent in EUC_JP

2011-03-22 Thread Itagaki Takahiro
encoding names and define the above conversion procs as the default: =# CREATE ENCODING eucjp_relaxed; =# CREATE DEFAULT CONVERSION xxx FOR utf8 TO eucjp_relaxed FROM utf8_to_eucjp_relaxed; I think overhaul of conversion support is a TODO item. -- Itagaki Takahiro -- Sent via

Re: [BUGS] BUG #5920: SQL function are probably "overoptimized"

2011-03-07 Thread Itagaki Takahiro
sult, only one row appears in table a, although two should be > there... It should be not a bug. You probably need to define f2 as "returns SETOF void" function. -- Itagaki Takahiro -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs

[BUGS] pg_stat_all_tables.vacuum_count corrupted after pg_stat_reset()

2011-03-07 Thread Itagaki Takahiro
0 | | | | | 9187201950435737471 | 9187201950435737471 | 9187201950435737471 | 9187201950435737471 (2 rows) -- Itagaki Takahiro -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs

Re: [BUGS] BUG #5906: assertion failure in AtCleanup_Portals

2011-03-03 Thread Itagaki Takahiro
e assertion failure. It looks we call CreatePortal for ROLLBACK, but don't invoke DropPortal nor AtAbort_Portals before AtCleanup_Portals. -- Itagaki Takahiro -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs

Re: [BUGS] rollback to savepoint leads to transaction already in progress

2010-10-14 Thread Itagaki Takahiro
k the string-comparison is unreliable. So, I'd like to replace the code to use PQtransactionStatus(). I have two patches to do it: The first one (ecpg-trans-quick_20101014.patch) is a quick fix that replaces only the above test. The second one (ecpg-trans-full_20101014.patch) replaces all of struc

Re: [BUGS] rollback to savepoint leads to transaction already in progress

2010-10-14 Thread Itagaki Takahiro
ks on 8.3, but it's still broken. Here is the code in 8.3. It ignores "ROLLBACK TO savepoint", but also ignores "ROLLBACK TRANSACTION". if (strcmp(transaction, "commit") == 0 || strcmp(transaction, "rollback") == 0) con->committed = true; e

Re: [BUGS] psql: cannot run DISCARD ALL with AUTOCOMMIT = 'off'

2010-09-27 Thread Itagaki Takahiro
bug report! Fixed and backpatched to 8.3. -- Itagaki Takahiro -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs

Re: [BUGS] BUG #5674: initdb failed if path contains symlink

2010-09-27 Thread Itagaki Takahiro
ep 27, 2010 at 11:14 PM, Tom Lane wrote: > I think this is a Microsoft bug and it's their problem to fix, not ours. OK, but bad news is that the bug is in VC 2008, but they have not fixed it even in VC 2010. I'm not sure they will fix it in the future... -- Itagaki Takahiro -- Sent

Re: [BUGS] BUG #5674: initdb failed if path contains symlink

2010-09-27 Thread Itagaki Takahiro
On Fri, Sep 24, 2010 at 3:01 PM, Itagaki Takahiro wrote: > Windows 7 supports symbolic links like UNIX, > but initdb cannot initialize a database cluster > if the path (-D) contains symlinks. The bug might come from the following bug by Microsoft: http://connect.microsoft.com/Vis

Re: [BUGS] hstore: null value is treated as empty string by avals function

2010-09-27 Thread Itagaki Takahiro
-bit > (1 row) > > got f,t > expected t,f > hope the problem is clear I found 9.0 and 9.1dev returns t,f as expected. Is it an incompatibility between 8.4 and 9.0? -- Itagaki Takahiro -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs

[BUGS] BUG #5674: initdb failed if path contains symlink

2010-09-23 Thread Itagaki Takahiro
The following bug has been logged online: Bug reference: 5674 Logged by: Itagaki Takahiro Email address: itagaki.takah...@gmail.com PostgreSQL version: 9.0.0 (32bit) Operating system: Windows 7 (64bit) Description:initdb failed if path contains symlink Details

Re: [BUGS] BUG #5660: Can't start db service if specify effective_io_concurrency

2010-09-16 Thread Itagaki Takahiro
start. Unfortunately, effective_io_concurrency is not supported on Windows. It works on Linux and UNIXes, but must be 1 on Windows. -- Itagaki Takahiro -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs

Re: [BUGS] BUG #5628: 9.0beta4 failed automatic crash recovery

2010-08-24 Thread Itagaki Takahiro
f there are any old server processes still running, and terminate them. Changes for the issue might be introduced between 8.2 and 8.3, or in bugfixes only applied to 8.3 or newer versions. -- Itagaki Takahiro -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To mak

Re: [BUGS] BUG #5628: 9.0beta4 failed automatic crash recovery

2010-08-23 Thread Itagaki Takahiro
On Tue, Aug 24, 2010 at 9:45 AM, Tom Lane wrote: > "Itagaki Takahiro" writes: >> 9.0beta4 seems to fail automatic crash recovery after >> some of backend processes crashed, > > Works for me, and always has worked for me (and I crash backend > processes regularly

[BUGS] BUG #5628: 9.0beta4 failed automatic crash recovery

2010-08-23 Thread Itagaki Takahiro
The following bug has been logged online: Bug reference: 5628 Logged by: Itagaki Takahiro Email address: itagaki.takah...@gmail.com PostgreSQL version: 9.0b4 (32bit) Operating system: Windows 7 (64bit) Description:9.0beta4 failed automatic crash recovery Details

Re: [BUGS] BUG #5608: array_agg() consumes too much memory

2010-08-13 Thread Itagaki Takahiro
he near-term fix; it adds ALLOCSET_DEFAULT_INITSIZE bytes to memory assumption. We might need the same adjustment for string_agg(), that consumes 1024 bytes for the transit condition. array_agg() and string_agg() are only aggregates that have "internal" for aggtranstype.

[BUGS] BUG #5608: array_agg() consumes too much memory

2010-08-09 Thread Itagaki Takahiro
The following bug has been logged online: Bug reference: 5608 Logged by: Itagaki Takahiro Email address: itagaki.takah...@gmail.com PostgreSQL version: 9.0beta4 Operating system: Windows 7 (32bit) Description:array_agg() consumes too much memory Details: I

Re: [HACKERS] [BUGS] fillfactor hides autovacuum parameters in 8.4.0

2009-08-27 Thread Itagaki Takahiro
Alvaro Herrera wrote: > So I'm going to apply your patch to both 8.4 and HEAD; we can always > improve it later, I guess. Thank you for your applying. I think the fix is ugly, too. We need to introduce cleaner solution for 8.5. Regards, --- ITAGAKI Takahiro NTT Open Source Soft

[BUGS] BUG #5016: dlltool error in libecpg_compatdll.def

2009-08-26 Thread Itagaki Takahiro
The following bug has been logged online: Bug reference: 5016 Logged by: Itagaki Takahiro Email address: itagaki.takah...@oss.ntt.co.jp PostgreSQL version: 8.5 Alpha 1 Operating system: Windows XP (mingw) Description:dlltool error in libecpg_compatdll.def Details

Re: [BUGS] fillfactor hides autovacuum parameters in 8.4.0

2009-08-19 Thread Itagaki Takahiro
threshold = 10); AutoVacOpts.vacuum_threshold should be 10 (comes from reloptions), but AutoVacOpts.vacuum_scale_factor should be (comes from GUC). If we use boolean flags, we need booleans for each fields in AutoVacOpts. (vacuum_threshold_is_default, vacuum_scale_factor_is_default, ...) Regards, --- ITAGAKI Takahiro N

Re: [BUGS] fillfactor hides autovacuum parameters in 8.4.0

2009-08-19 Thread Itagaki Takahiro
eloptions. Is it possible to change the default values of reloptions > to some magic number (-1 or so) ? Regards, --- ITAGAKI Takahiro NTT Open Source Software Center fix-relopts-20090820.patch Description: Binary data -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)

Re: [BUGS] fillfactor hides autovacuum parameters in 8.4.0

2009-08-19 Thread Itagaki Takahiro
ed or not independntly. Regards, --- ITAGAKI Takahiro NTT Open Source Software Center -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs

[BUGS] fillfactor hides autovacuum parameters in 8.4.0

2009-08-18 Thread Itagaki Takahiro
ix it? Regards, --- ITAGAKI Takahiro NTT Open Source Software Center -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs

Re: [BUGS] BUG #4941: pg_stat_statements crash

2009-07-26 Thread Itagaki Takahiro
in postmaster; There are no chance to see uninitialized state of 'pgss' after relasing AddinShmemInitLock and before load dumpfile into it. I also check pgss_shmem_shutdown and no problem. It is called only once from postmaster on shutdown. Regards, --- ITAGAKI Takahiro NTT Ope

Re: [BUGS] BUG #4941: pg_stat_statements crash

2009-07-26 Thread Itagaki Takahiro
LWLockAcquire(AddinShmemInitLock, LW_EXCLUSIVE); pgss = ShmemInitStruct("pg_stat_statements" &found); if (!found) { [Initialize shared memory]; [Read dumpfile]; } LWLockRelease(AddinShmemInitLock); } Regards, --- ITAGAKI

Re: [BUGS] BUG #4939: error query result

2009-07-23 Thread Itagaki Takahiro
uot;user" to text type. =# select * from t where str in (user::text, 'abc...ijk'); The result might be a designed behavior, but is very surprising. What should we care for it? Regards, --- ITAGAKI Takahiro NTT Open Source Software Center -- Sent via pgsql-bugs mailing list (pgsql

Re: [BUGS] postgresql 8.4 install failed on windows xp chinese PRC

2009-07-01 Thread Itagaki Takahiro
ding=UTF8 --locale="Chinese (Simplified)" Regards, --- ITAGAKI Takahiro NTT Open Source Software Center -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs

[BUGS] BUG #4845: cash_in is broken for lc_monetary = 'ja'

2009-06-10 Thread Itagaki Takahiro
The following bug has been logged online: Bug reference: 4845 Logged by: Itagaki Takahiro Email address: itagaki.takah...@oss.ntt.co.jp PostgreSQL version: 8.4dev, 8.3.7 Operating system: Windows XP Description:cash_in is broken for lc_monetary = 'ja' Deta

Re: [BUGS] BUG #4822: xmlattributes encodes '&' twice

2009-05-28 Thread Itagaki Takahiro
element, xmlattributes (1 as one, 'deuce' as two, '<>&"''' as three), 'content', '<>&"'''); xmlelement

[BUGS] BUG #4822: xmlattributes encodes '&' twice

2009-05-25 Thread Itagaki Takahiro
The following bug has been logged online: Bug reference: 4822 Logged by: Itagaki Takahiro Email address: itagaki.takah...@oss.ntt.co.jp PostgreSQL version: 8.4dev Operating system: Linux, Windows Description:xmlattributes encodes '&' twice Detail

[BUGS] BUG #4660: float functions return -0

2009-02-16 Thread ITAGAKI Takahiro
The following bug has been logged online: Bug reference: 4660 Logged by: ITAGAKI Takahiro Email address: itagaki.takah...@oss.ntt.co.jp PostgreSQL version: 8.3.3 Operating system: Fedora 8 Description:float functions return -0 Details: Float8 versions of trunc

Re: [BUGS] [HACKERS] 0x1A in control file on Windows

2008-09-17 Thread ITAGAKI Takahiro
Tom Lane <[EMAIL PROTECTED]> wrote: > ITAGAKI Takahiro <[EMAIL PROTECTED]> writes: > > We probably need to add PG_BINARY when we open control files > > because 0x1A is an end-of-file marker on Windows. > > Well, why is that a bug? If the platform is so silly a

[BUGS] 0x1A in control file on Windows

2008-09-17 Thread ITAGAKI Takahiro
@@ char *buffer; pg_crc32crc; - if ((fd = open(XLOG_CONTROL_FILE, O_RDONLY, 0)) < 0) + if ((fd = open(XLOG_CONTROL_FILE, O_RDONLY | PG_BINARY, 0)) < 0) { /* * If pg_control is not there at all, or we can't

Re: [BUGS] MAX関数に関する報告

2008-07-17 Thread ITAGAKI Takahiro
- Aggregate (cost=20.81..20.81 rows=1 width=82) Output: max(item1), max((item2)::text) -> Seq Scan on b (cost=0.00..17.20 rows=720 width=82) Output: item1, item2 (4 rows) Regards, --- ITAGAKI Takahiro NTT Open Source Software Center -- Sent via pgsql-bugs mailing list (pg

Re: [BUGS] BUG #4087: table creation problem using python

2008-04-03 Thread ITAGAKI Takahiro
cur.execute("create table ph2 (nm varchar, ph varchar)") conn.commit() >print "table created." An auto-commit feature is initially off on databases supporting transactions. See http://www.python.org/dev/peps/pep-0249/ . Regards, --- ITAGAKI Takahiro

Re: [BUGS] BUG #3969: pg_ctl cannot detect server startup

2008-02-19 Thread ITAGAKI Takahiro
"ITAGAKI Takahiro" <[EMAIL PROTECTED]> wrote: > Bug reference: 3969 > Description:pg_ctl cannot detect server startup > Details: > pg_ctl -w -o "-p 5432 -c max_connections=100" start > waits for server startup forever and timeout, > but

[BUGS] BUG #3969: pg_ctl cannot detect server startup

2008-02-19 Thread ITAGAKI Takahiro
The following bug has been logged online: Bug reference: 3969 Logged by: ITAGAKI Takahiro Email address: [EMAIL PROTECTED] PostgreSQL version: 8.2.6, 8.3.0 Operating system: CentOS 5, Windows XP Description:pg_ctl cannot detect server startup Details: pg_ctl -w -o

Re: [BUGS] BUG #3681: fillers are NULL in pgbench

2007-10-17 Thread ITAGAKI Takahiro
Tom Lane <[EMAIL PROTECTED]> wrote: > "ITAGAKI Takahiro" <[EMAIL PROTECTED]> writes: > > All of filler fields in branches, tellers and history is NULL. It is > > probabbly a mistake because there are fields of char(22-88) in the table > > definitions

[BUGS] BUG #3681: fillers are NULL in pgbench

2007-10-17 Thread ITAGAKI Takahiro
The following bug has been logged online: Bug reference: 3681 Logged by: ITAGAKI Takahiro Email address: [EMAIL PROTECTED] PostgreSQL version: 8.2.5, 8.3beta1 Operating system: independent Description:fillers are NULL in pgbench Details: All of filler fields in

[BUGS] BUG #3674: Unnecessary checkpoints by WAL Writer

2007-10-12 Thread ITAGAKI Takahiro
The following bug has been logged online: Bug reference: 3674 Logged by: ITAGAKI Takahiro Email address: [EMAIL PROTECTED] PostgreSQL version: 8.3beta1 Operating system: independent Description:Unnecessary checkpoints by WAL Writer Details: WAL Writer requests

[BUGS] BUG #3622: pg_rotate_logfile() does not work

2007-09-19 Thread ITAGAKI Takahiro
The following bug has been logged online: Bug reference: 3622 Logged by: ITAGAKI Takahiro Email address: [EMAIL PROTECTED] PostgreSQL version: 8.3dev Operating system: ALL Description:pg_rotate_logfile() does not work Details: "SELECT pg_rotate_logfile()"

[BUGS] BUG #3621: Syslogger will not start

2007-09-19 Thread ITAGAKI Takahiro
The following bug has been logged online: Bug reference: 3621 Logged by: ITAGAKI Takahiro Email address: [EMAIL PROTECTED] PostgreSQL version: 8.3dev Operating system: Windows Description:Syslogger will not start Details: Syslogger will not start because of the

Re: [BUGS] BUG #3453: Error on COPY TO/FROM 'non-ascii-path'

2007-07-16 Thread ITAGAKI Takahiro
escription:Error on COPY TO/FROM 'non-ascii-path' > > When I set postgres a different character encoding from OS, COPY TO/FROM > > 'non-ascii-path' cannot open the path. Regards, --- ITAGAKI Takahiro NTT Open Source Software Center

[BUGS] BUG #3453: Error on COPY TO/FROM 'non-ascii-path'

2007-07-16 Thread ITAGAKI Takahiro
The following bug has been logged online: Bug reference: 3453 Logged by: ITAGAKI Takahiro Email address: [EMAIL PROTECTED] PostgreSQL version: 8.2, 8.3dev Operating system: independent (especially Windows) Description:Error on COPY TO/FROM 'non-ascii-path