pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Herouth Maoz <herouth@oumail.openu.ac.il>
To: Mitch Vincent <mitch@venux.net>
To: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] Reasonable
Date: Tue, 5 Oct 1999 18:32:03 +0200
Message-ID: <l03130302b41fd75952e6@[147.233.159.109]> (raw)
In-Reply-To: <019801bf0f46$e1f01c00$40ee2fd8@venux.net>

At 17:32 +0200 on 05/10/1999, Mitch Vincent wrote:

...
>        "createdcond" varying(2),
>         "status" character varying(1) default 'Active',
>         "statuscond" character varying(1) default '=',
>         "firstname" character varying(25),
>         "firstnamecond" character varying(2) default '=',
>         "lastname" character varying(25),
>         "lastnamecond" character varying(2) default '=',
>         "address1" character varying(30),
>         "address1cond" character varying(2) default '=',
>         "address2" character varying(30),
>         "city" character varying(20),
>         "citycond" character varying(8) default 'starts',
...

It's hard to know when you don't tell us which error message you got, but
my guess is as follows: Most of these fields are defined using the syntax

"fieldname" character varying(N)...

But I seem to detect a couple of fields, "createdcond" above, as well as
"dateavailablecond". Are those the fields you added? For some reason, they
are defined as:

"fieldname" varying(N)...

Without the character keyword. On a cursory look this would not work.

Another potential problem is your use of a six-letter long default for a
varying(1) field ("status").

Herouth

--
Herouth Maoz, Internet developer.
Open University of Israel - Telem project
http://telem.openu.ac.il/~herutma





view thread (4+ messages)  latest in thread

Message-ID: <l03130302b41fd75952e6@[147.233.159.109]>
Permalink:  ../l03130302b41fd75952e6@%5B147.233.159.109%5D/
Also on:    postgresql.org/message-id/l03130302b41fd75952e6@[147.233.159.109]

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: herouth@oumail.openu.ac.il, mitch@venux.net
  Subject: Re: [SQL] Reasonable
  In-Reply-To: <l03130302b41fd75952e6@[147.233.159.109]>
  References: <019801bf0f46$e1f01c00$40ee2fd8@venux.net> <l03130302b41fd75952e6@[147.233.159.109]>

* 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