Skip site navigation (1) Skip section navigation (2)

BUG #5890: malloc error

From: "Emmanuel" <tuco(at)pasteur(dot)fr>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #5890: malloc error
Date: 2011-02-16 21:53:09
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
The following bug has been logged online:

Bug reference:      5890
Logged by:          Emmanuel
Email address:      tuco(at)pasteur(dot)fr
PostgreSQL version: 8.4.1
Operating system:   Mac OSX 10.6.6
Description:        malloc error

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
*** 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 '' and press 'tab'
key, then I get list of table matching the beginning of my table name: 

legiobiblio=# select pmid from<tab>
public.pub_auths     public.pub_genes     public.pub_org      
legiobiblio=# select pmid from

hope my message is clear enough.



pgsql-bugs by date

Next:From: Tom LaneDate: 2011-02-16 22:46:52
Subject: Re: BUG #5890: malloc error
Previous:From: Swiderek, SunnyDate: 2011-02-16 19:57:44
Subject: 64-bit windows installer

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group