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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgadmin-hackers by date

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