Re: [GENERAL] Segmentation fault with core dump

2013-06-11 Thread Hiroshi Inoue
there). That actually seems simple enough? I made some changes to multi thread handling of psqlodbc driver. It's also better to fix the crash at backend side. I made 2 patches. The 1st one temporarily changes CurrentResourceOwner to CurTransactionResourceOwner during catalog cac

Re: [GENERAL] trouble with to_char('L')

2010-02-26 Thread Hiroshi Inoue
Bruce Momjian wrote: Hiroshi Inoue wrote: Bruce Momjian wrote: Where are we on this issue? Oops I forgot it completely. I have a little improved version and would post it tonight. Ah, very good. Thanks. Attached is an improved version. regards, Hiroshi Inoue ? formatting.patch

Re: [GENERAL] trouble with to_char('L')

2010-02-25 Thread Hiroshi Inoue
Bruce Momjian wrote: Where are we on this issue? Oops I forgot it completely. I have a little improved version and would post it tonight. regards, Hiroshi Inoue --- Hiroshi Inoue wrote: Tom Lane wrote: Alvaro

Re: [GENERAL] trouble with to_char('L')

2009-04-22 Thread Hiroshi Inoue
places we examine localeconv() > output. Attached is a patch to the current CVS. It uses a similar way like LC_TIME stuff does. regards, Hiroshi Inoue Index: pg_locale.c === RCS file: /projects/cvsroot/pgsql/src/backend/utils/adt/p

Re: [GENERAL] encoding of PostgreSQL messages

2009-02-12 Thread Hiroshi Inoue
rong with urging such clients to eliminate the SET commands and use the nice feature of FE/BE procotol? regards, Hiroshi Inoue -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] encoding of PostgreSQL messages

2009-02-10 Thread Hiroshi Inoue
Tom Lane wrote: > Hiroshi Inoue writes: >> I'm thinking of the following steps in the backend code. > >> 1.Set LC_MESSAGES to "C" until the client_encoding is >> determined. >> 2.When a client_encoding is specifed in the startup >&

Re: [GENERAL] encoding of PostgreSQL messages

2009-02-10 Thread Hiroshi Inoue
GES overridden by step 1 before authorization step. Then we can see properly localized authorization failure messages. 3.Reset LC_MESSAGES to the current one in Initialize ClientEncoding() and unbind the codeset if necessary in SetDatabaseEncoding(). Comments? regards, Hiroshi Inoue

Re: [GENERAL] encoding of PostgreSQL messages

2009-02-08 Thread Hiroshi Inoue
Tom Lane wrote: > Peter Eisentraut writes: >> Bruce Momjian wrote: >>> Can someone comment on this? > >> Looks like a horrible hack to me. Recoding stuff to the client encoding >> in the server outside the existing recoding mechanism looks pretty evil >> to me. Plus, it does not address the p

Re: [GENERAL] encoding of PostgreSQL messages

2009-02-08 Thread Hiroshi Inoue
patch exactly references the client_encoding included in the startup message. regards, Hiroshi Inoue -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] encoding of PostgreSQL messages

2009-01-30 Thread Hiroshi Inoue
driver can get properly localized password error messages. regards, Hiroshi Inoue Index: postmaster/postmaster.c === RCS file: /projects/cvsroot/pgsql/src/backend/postmaster/postmaster.c,v retrieving revision 1.570 diff -c -c -r1.570

Re: [GENERAL] To Postgres Devs : Wouldn't changing the select limit

2001-10-17 Thread Hiroshi Inoue
don't fix it, all MySQL queries that are ported will be broken. But it seems absurd to trouble existent PG users instead. regrads, Hiroshi Inoue ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster

Re: [GENERAL] Perfomance decreasing

2001-08-16 Thread Hiroshi Inoue
Tom Lane wrote: > > Hiroshi Inoue <[EMAIL PROTECTED]> writes: > >> I'd say you shouldn't release it at all. > > > As far as I see I'm not releasing it. > > Oh, I hadn't looked closely at reindex_index. Hmm... okay, you are > hold

Re: [GENERAL] Perfomance decreasing

2001-08-16 Thread Hiroshi Inoue
Tom Lane wrote: > > Hiroshi Inoue <[EMAIL PROTECTED]> writes: > > Where do I release the lock ? > > I'd say you shouldn't release it at all. As far as I see I'm not releasing it. regards, Hiroshi Inoue ---(end of broadcast)---

Re: [GENERAL] Perfomance decreasing

2001-08-16 Thread Hiroshi Inoue
Tom Lane wrote: > > Hiroshi Inoue <[EMAIL PROTECTED]> writes: > > One backend would be blocked by another one because reindex_relation > > calls reindex_index and reindex_index grabs an ExclusiveLock on the > > relation. > > Am I missing anything ? >

RE: Re[2]: [GENERAL] Perfomance decreasing

2001-08-16 Thread Hiroshi Inoue
how updating of > > tables. > > Hmmm ... it looks like REINDEX only grabs AccessShareLock on the target > relation, which seems very wrong. Sorry I couldn't find where AccessShareLock is grabbed now. AccessExclusiveLock is acquired in reindex_index but d

[GENERAL] RE: ODBC PG error

2001-07-26 Thread Hiroshi Inoue
x27;m not sure if I could implement it at once. Are you in a hurry ?   regards, Hiroshi Inoue

RE: [GENERAL] No response from backend

2001-03-16 Thread Hiroshi Inoue
Try running the postmaster with -d2 (and without -S) and see what gets logged in its stderr output. BTW what version of psqlodbc driver are you using ? regards, Hiroshi Inoue ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

RE: [GENERAL] I wonder why I don't get an exception on delphi?

2001-03-16 Thread Hiroshi Inoue
exception, but with postgres I > don't, I tried to insert the same record on PSQL and I get an error, could > it be the ODBC driver? > > Please help me, if you know... > Try the latest ODBC driver at http://www.greatbridge.org/project/pgadmin/. It includes an chan

Re: [GENERAL] Re: numeric type and odbc from access 2000

2001-02-13 Thread Hiroshi Inoue
ve half(or more) done it. I hope I could commit it in a few days. Regards, Hiroshi Inoue

Re: [GENERAL] Creating indeces on existing tables...

2001-01-31 Thread Hiroshi Inoue
tried a vaccum: > > domains=# vacuum analyze; > NOTICE: Index idx_domain_name: NUMBER OF INDEX' TUPLES (305) IS NOT THE > SAME AS HEAP' (311). > Recreate the index. > VACUUM > This is a known bug. Probably there's a long transaction somewhere. It is fixed in 7.1. Regards, Hiroshi Inoue

Re: [GENERAL] Problems during doing reindex on 7.0.3

2000-11-13 Thread Hiroshi Inoue
ser-rewriter-planner acquires a short term lock. This may be improved in 7.1 though I'm not sure. Regards. Hiroshi Inoue

Re: [GENERAL] index problems

2000-10-25 Thread Hiroshi Inoue
4. press cntrl-D to exit the program. 5. restart postmaster. Regards. Hiroshi Inoue

RE: [GENERAL] subselect in CHECK constraint?

2000-09-04 Thread Hiroshi Inoue
owing other than acquiring a table level locking. When there's no row which satisfies b = 2,two backends insert values (500, 2) at the same time. Regards. Hiroshi Inoue

RE: [GENERAL] Updating cursors

2000-09-04 Thread Hiroshi Inoue
by using SELECT statements like select CTID,* from myTable; and update using CTID update myTable set ..=.. where CTID=..; Note that CTIDs aren't of int type. Regards. Hiroshi Inoue

RE: [GENERAL] Large selects handled inefficiently?

2000-08-31 Thread Hiroshi Inoue
gt; The default transaction isolation level of PostgreSQL is READ COMMITTED. However transaction isolation levels seems to be irrelevant to your problem. PostgreSQL cursors don't see any changes made by other backends after it was declared(opened) regardless of transaction isolation levels. INSENSITIVE cursors aren't implemented yet. Cursors aren't INSENSITIVE because they would see the changes made by the backend itself. It's also regardless of transaction isolation levels. Regards. Hiroshi Inoue

RE: [GENERAL] vacuumdb failed

2000-08-30 Thread Hiroshi Inoue
block-is-referenced condition > we'd sure like to know about it! > The following is an example which doesn't release the reference count. Neither CommitTransaction() nor AbortTransaction() is called after '\q' begin; declare myc cursor for select * from ..; fetch in myc; \q Regards. Hiroshi Inoue [EMAIL PROTECTED]

RE: [GENERAL] Re: [SQL] oracle rownum equivalent?

2000-06-07 Thread Hiroshi Inoue
x27;t understand very well how > these are used. Maybe someone else can say or you can experiment... > AFAIK,there's no pseudo-column like Oracle's rownum which is dynamically allocated at execution time. Regards. Hiroshi Inoue [EMAIL PROTECTED]

RE: [GENERAL] CREATE USER

2000-05-31 Thread Hiroshi Inoue
e user ... commit; This wouldn't be good for odbc/jdbc/ecpg etc. How about starting new transaction automatically after committing "create user ..." at backend side if "create user" is the first command of the transaction ? Regards. Hiroshi Inoue [EMAIL PROTECTED]

RE: [GENERAL] Recovering data from binary files?

2000-05-08 Thread Hiroshi Inoue
o the other server, in the place where the new database has been > created ($PGDATA/base/$dbname). Oh it seems almost same as pg_upgrade. However you should probably copy pg_log and pg_variable to $PGDATA as pg_upgrade does. In addtion if postmaster is running,you should shutdown before proces

RE: [GENERAL] Revisited: Transactions, insert unique.

2000-04-27 Thread Hiroshi Inoue
> -Original Message- > From: Peter Eisentraut [mailto:[EMAIL PROTECTED]] > Sent: Thursday, April 27, 2000 4:46 PM > To: Hiroshi Inoue > > On Thu, 27 Apr 2000, Hiroshi Inoue wrote: > > > PostgreSQL's SERIALIZABLE isolation level would allow both inserts. &

RE: [GENERAL] TODO list elements

1998-12-14 Thread Hiroshi Inoue
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Vadim > Mikheev > Sent: Monday, December 14, 1998 5:03 PM > To: Hiroshi Inoue > Cc: The Hermit Hacker; [EMAIL PROTECTED] > Subject: Re: [GENERAL] TODO list elements >

RE: [GENERAL] TODO list elements

1998-12-13 Thread Hiroshi Inoue
concurrency control. > What does it mean ? LLL in 6.5 doesn't include row level locking ? Thanks. Hiroshi Inoue [EMAIL PROTECTED]