Lists: | pgsql-hackers |
---|
From: | Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM> |
---|---|
To: | "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | psql is broken in 8.4 |
Date: | 2009-05-21 12:47:44 |
Message-ID: | 1242910064.1362.30.camel@localhost |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Lists: | pgsql-hackers |
Hi all,
last version of psql is broken:
psql (8.4beta1, server 8.3.7)
WARNING: psql version 8.4, server version 8.3.
Some psql features might not work.
Type "help" for help.
postgres=# \d test
ERROR: syntax error at or near ","
LINE 1: ...index, relhasrules, reltriggers <> 0, relhasoids, ,'',
relta...
^
It should work. I think describeTableDetails() does not have something
like: if (pset.sversion >= 80100) ...
Another problem is with resultset. When I run for example following
command I got this output:
postgres=# select oid from pg_am;
oid
------
403
405
783
2742
See the garbage at the end.
Zdenek
From: | Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com> |
---|---|
To: | Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM> |
Cc: | "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: psql is broken in 8.4 |
Date: | 2009-05-21 13:53:45 |
Message-ID: | [email protected] |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Lists: | pgsql-hackers |
Zdenek Kotala wrote:
> last version of psql is broken:
>
> psql (8.4beta1, server 8.3.7)
> WARNING: psql version 8.4, server version 8.3.
> Some psql features might not work.
> Type "help" for help.
>
> postgres=# \d test
> ERROR: syntax error at or near ","
> LINE 1: ...index, relhasrules, reltriggers <> 0, relhasoids, ,'',
> relta...
> ^
> It should work. I think describeTableDetails() does not have something
> like: if (pset.sversion >= 80100) ...
I fixed this a while ago:
revision 1.211
date: 2009/05/04 17:31:35; author: heikki; state: Exp; lines: +2 -2
Fix the query used for \d against 8.2 and 8.3 servers.
Should work with a fresh checkout.
> Another problem is with resultset. When I run for example following
> command I got this output:
>
> postgres=# select oid from pg_am;
> oid
> ------
> 403
> 405
> 783
> 2742
>
That's odd. Work for me. Can you try to debug that, please?
--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com
From: | Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM> |
---|---|
To: | Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com> |
Cc: | "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: psql is broken in 8.4 |
Date: | 2009-05-21 15:20:59 |
Message-ID: | 1242919259.1571.2.camel@localhost |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Lists: | pgsql-hackers |
Heikki Linnakangas píše v čt 21. 05. 2009 v 16:53 +0300:
> Zdenek Kotala wrote:
> > last version of psql is broken:
> >
> > psql (8.4beta1, server 8.3.7)
> > WARNING: psql version 8.4, server version 8.3.
> > Some psql features might not work.
> > Type "help" for help.
> >
> > postgres=# \d test
> > ERROR: syntax error at or near ","
> > LINE 1: ...index, relhasrules, reltriggers <> 0, relhasoids, ,'',
> > relta...
> > ^
> > It should work. I think describeTableDetails() does not have something
> > like: if (pset.sversion >= 80100) ...
>
> I fixed this a while ago:
>
> revision 1.211
> date: 2009/05/04 17:31:35; author: heikki; state: Exp; lines: +2 -2
> Fix the query used for \d against 8.2 and 8.3 servers.
>
> Should work with a fresh checkout.
Yeah, thanks. It works with beta2.
> > Another problem is with resultset. When I run for example following
> > command I got this output:
> >
> > postgres=# select oid from pg_am;
> > oid
> > ------
> > 403
> > 405
> > 783
> > 2742
> >
>
> That's odd. Work for me. Can you try to debug that, please?
I will look on it.
Zdenek
From: | Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM> |
---|---|
To: | Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com> |
Cc: | "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: psql is broken in 8.4 |
Date: | 2009-05-23 21:14:49 |
Message-ID: | 1243113289.1260.3.camel@localhost |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Lists: | pgsql-hackers |
Heikki Linnakangas píše v čt 21. 05. 2009 v 16:53 +0300:
> Zdenek Kotala wrote:
>
> > Another problem is with resultset. When I run for example following
> > command I got this output:
> >
> > postgres=# select oid from pg_am;
> > oid
> > ------
> > 403
> > 405
> > 783
> > 2742
> >
>
> That's odd. Work for me. Can you try to debug that, please?
>
We looked on it with Peter and it is problem with plural translation of
rows for Czech language. I'm going to fix it.
Zdenek