Re: error creating new table

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Andreas Pflug" <pgadmin(at)pse-consulting(dot)de>, "Virgil Frum" <virgil(at)livius(dot)net>
Cc: <pgadmin-support(at)postgresql(dot)org>
Subject: Re: error creating new table
Date: 2005-02-10 13:02:31
Message-ID: E7F85A1B5FF8D44C8A1AF6885BC9A0E4528A83@ratbert.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

> -----Original Message-----
> From: pgadmin-support-owner(at)postgresql(dot)org
> [mailto:pgadmin-support-owner(at)postgresql(dot)org] On Behalf Of
> Andreas Pflug
> Sent: 10 February 2005 12:44
> To: Virgil Frum
> Cc: pgadmin-support(at)postgresql(dot)org
> Subject: Re: [pgadmin-support] error creating new table
>
> Virgil Frum wrote:
> > pgAdmin ver. 1.3.0 (Jan 14 2005)
> > Windows XP SP2
> >
> > When creating new table via 'New Table' dialog I've got error:
> > XRC resource 'frmHint' (class 'wxDialog') not found! (and
> pgAdmin freezes)
> > but via SQL query tool it works fine.
> >
> > Here is table definition:
> > CREATE TABLE info
> > (
> > version varchar(50) NOT NULL,
> > creationtstamptz timestamptz NOT NULL DEFAULT now()
> > ) WITHOUT OIDS;
> >
> > There is another problem, I cannot insert rows via Edit
> Data grid in
> > info table.
>
> Both problems result from the missing primary key. The latter is well
> documented (FAQ, rank 1)

A missing pkey results in a missing XRC resource? Wow, we need a new
dependency tracking system :-)

Seriously though, I don't see a frmHint anywhere (including
xrcDialogs.cpp) - did you forget to commit it?

Regards, Dave.

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Andreas Pflug 2005-02-10 13:19:47 Re: error creating new table
Previous Message Andreas Pflug 2005-02-10 12:44:23 Re: error creating new table