From: Emmanuel <tuco@pasteur.fr>
To: pgsql-bugs@postgresql.org
Subject: BUG #5890: malloc error
Date: Wed, 16 Feb 2011 21:53:09 GMT
Message-ID: <201102162153.p1GLr9hB068759@wwwmaster.postgresql.org> (raw)
The following bug has been logged online:
Bug reference: 5890
Logged by: Emmanuel
Email address: tuco@pasteur.fr
PostgreSQL version: 8.4.1
Operating system: Mac OSX 10.6.6
Description: malloc error
Details:
When I type a select query and then push the 'tab' key for table name
completion (without) schema name, if there more than one table starting with
the same prefix, I get this error:
legiobiblio=# select pmid from pub<tab>
psql(41402) malloc: *** error for object 0x4: pointer being freed was not
allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap
I have more than one table starting with 'pub...'
- publications
- pub_genes
- pub_org
- pub_auths
However if I precise the schema name like 'public.pub..' and press 'tab'
key, then I get list of table matching the beginning of my table name:
legiobiblio=# select pmid from public.pub<tab>
public.pub_auths public.pub_genes public.pub_org
public.publications
legiobiblio=# select pmid from public.pub
hope my message is clear enough.
Cheers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tuco@pasteur.fr
Subject: Re: BUG #5890: malloc error
In-Reply-To: <201102162153.p1GLr9hB068759@wwwmaster.postgresql.org>
References: <201102162153.p1GLr9hB068759@wwwmaster.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox