Re: [BUGS] error: message type 0x5a arrived from server while idle

2009-09-15 Thread Tom Lane
Robert Haas writes: > On Tue, Sep 8, 2009 at 11:38 PM, vyou zhi wrote: >> i use Python and PyGreSQL to linkĀ  PostgreSQL >> but the Python give me the error >> message type 0x43 arrived from server while idle >> message type 0x5a arrived from server while idle > This sounds like a bug in PyGreSQL

Re: [BUGS] error: message type 0x5a arrived from server while idle

2009-09-15 Thread Robert Haas
On Tue, Sep 8, 2009 at 11:38 PM, vyou zhi wrote: > hi all: > > i use Python and PyGreSQL to linkĀ  PostgreSQL > but the Python give me the error > > the error here : > > ... > 95 > 93 > 95 > 97 > 94 > 96 > 94 > message type 0x43 arrived from server while

[BUGS] error: message type 0x5a arrived from server while idle

2009-09-08 Thread vyou zhi
hi all: i use Python and PyGreSQL to link PostgreSQL but the Python give me the error the error here : ... 95 93 95 97 94 96 94 message type 0x43 arrived from server while idle message type 0x5a arrived from server while idle INSERT INTO code (stock_

Re: [BUGS] error message "psql: expected authentication request from server, but received " when using psql to connect remote database

2008-05-25 Thread Tom Lane
"TIAN Justin" <[EMAIL PROTECTED]> writes: > Actually, we don't directly use postgre server,we open TCP connection to > support postgre wire protocol, so psql client can connect to our > application, > I found the problem is in the StartupMessage, when psql client version > is 8.1.4, the major and m

Re: [BUGS] error message "psql: expected authentication request from server, but received " when using psql to connect remote database

2008-05-22 Thread TIAN Justin
9:43 PM To: TIAN Justin Cc: Heikki Linnakangas; pgsql-bugs@postgresql.org Subject: Re: [BUGS] error message "psql: expected authentication request from server, but received " when using psql to connect remote database "TIAN Justin" <[EMAIL PROTECTED]> writes: > Thanks f

Re: [BUGS] error message "psql: expected authentication request from server, but received " when using psql to connect remote database

2008-05-22 Thread Tom Lane
"TIAN Justin" <[EMAIL PROTECTED]> writes: > Thanks for your quick response; the server we used is 8.1.4, > The error when using client 8.1.4, >> psql -U or -p -d testdb -h localhost > Output: > psql: expected authentication request from server, but received What is in the server's pg_hba.con

Re: [BUGS] error message "psql: expected authentication request from server, but received " when using psql to connect remote database

2008-05-21 Thread TIAN Justin
tdb -h localhost Output: Password: Then enter password, it can log in and do all operation. Thanks, Justin -Original Message- From: Heikki Linnakangas [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 21, 2008 8:14 PM To: TIAN Justin Cc: pgsql-bugs@postgresql.org Subject: Re: [BUGS] error m

Re: [BUGS] error message "psql: expected authentication request from server, but received " when using psql to connect remote database

2008-05-21 Thread Heikki Linnakangas
TIAN Justin wrote: I met an error, when psql client version is 8.1.4, I use it to connect to remote database or local database, such as "psql -U name -p -d -h ", it will prompt error message "psql: expected authentication request from server, but received ", but if the client version is 8.0.3,

[BUGS] error message "psql: expected authentication request from server, but received " when using psql to connect remote database

2008-05-21 Thread TIAN Justin
Hi, I met an error, when psql client version is 8.1.4, I use it to connect to remote database or local database, such as "psql -U name -p -d -h ", it will prompt error message "psql: expected authentication request from server, but received ", but if the client version is 8.0.3, there is no p

Re: [BUGS] Error message that is a bit misleading / weird result from || null

2007-06-22 Thread Tom Lane
Frank van Vugt <[EMAIL PROTECTED]> writes: > While trying to find a way to get indexed access to a table based on it's > xmin, I ran into the following error message that seems a bit misleading: > db=# select xmin || ' ' from limit 1; > ERROR: array value must start with "{" or dimension inform

Re: [BUGS] Error message that is a bit misleading / weird result from || null

2007-06-22 Thread Gregory Stark
"Frank van Vugt" <[EMAIL PROTECTED]> writes: > Sidenote: since it does solve my problem, I can now build an index based on > such an interpretation of xmin, I'm a bit anxious as to how this will > be 'fixed', if at all ;) Actually this was noticed only recently but that was precisely because i

[BUGS] Error message that is a bit misleading / weird result from || null

2007-06-22 Thread Frank van Vugt
Hi, > As it seems, the result is actually a correct array It's an array of xid, indeed. > And comparing the result to for example an int, works. Only equality only, that is. > Sidenote: since it does solve my problem, I can now build an index > based on such an interpretation of xmin I w

[BUGS] Error message that is a bit misleading / weird result from || null

2007-06-22 Thread Frank van Vugt
Hi, While trying to find a way to get indexed access to a table based on it's xmin, I ran into the following error message that seems a bit misleading: db=# select xmin || ' ' from limit 1; ERROR: array value must start with "{" or dimension information Toying a bit more with this result r

[BUGS] Error message.

2001-05-28 Thread PETERMACKIE5
Hi, I'm not quite sure where I should be asking the following questions so if this is the wrong place please let me know where I should send it. I'm using PostGre on Windows N/T (sp6). I'm connecting to it via the Borland Database Engine which is in turn using an ODBC. It's a web application usin