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

Viewing data of a zero-column table gives an assertion failure

From: Heikki Linnakangas <heikki(at)enterprisedb(dot)com>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: Viewing data of a zero-column table gives an assertion failure
Date: 2007-09-26 21:54:36
Message-ID: 46FAD51C.20207@enterprisedb.com (view raw or flat)
Thread:
Lists: pgadmin-hackers
Viewing data of a table with zero columns triggers this assertion:

./db/pgSet.cpp(222): assert "col < nCols && col >= 0" failed in
GetVal(). [in child thread]

To reproduce, create a table with no columns, and click "View Data" ->
"First 100 rows".

This is with an up-to-date SVN checkout.

-- 
  Heikki Linnakangas
  EnterpriseDB   http://www.enterprisedb.com

Responses

pgadmin-hackers by date

Next:From: Guillaume LelargeDate: 2007-09-26 22:45:07
Subject: Patch to enable/disable rule on a table
Previous:From: Heikki LinnakangasDate: 2007-09-26 19:37:38
Subject: Re: A bunch of minor issues

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