From: Daniel Ordobas Bortolas <bortolas@inf.UFSM.br>
To: pgsql-sql@postgresql.org
Subject: simple problem
Date: Wed, 06 Mar 2002 15:08:45 GMT
Message-ID: <20020306150845.39034.qmail@inf.ufsm.br> (raw)
Hello!
I am having problems creating a table and i'd like some help.
-->create table loco( id_loco int4 not null, primary key (id_loco), check(
(select count(*) from loco ) < 3 ) );
I guess the statment is right, but when:
->insert into loco values(1);
the result is: ERROR: ExecEvalExpr: unknown expression type 108
How can I fix this problem?
Thanks.
Daniel Bortolas.
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: bortolas@inf.UFSM.br
Subject: Re: simple problem
In-Reply-To: <20020306150845.39034.qmail@inf.ufsm.br>
* 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