From: Larry Bottorff <swprenzl@southwind.net>
To: George Moga <george@flex.ro>
Cc: SQL PostgreSQL <pgsql-sql@postgreSQL.org>
Subject: Re: [SQL] int4 to varchar conversion
Date: Thu, 7 Jan 1999 11:06:52 -0600 (CST)
Message-ID: <Pine.BSI.4.02A.9901071103050.5260-100000@jasper.southwind.net> (raw)
In-Reply-To: <3694DBB4.CCF4DB9D@flex.ro>
Tried your suggestion, but. . . .
=> create table seq_varchar (field1 varchar(4), field2 text, CONSTRAINT
pk_sq PRIMARY KEY (field1));
=> insert into seq_varchar values (NEXTVAL ( 'seq_test' )::text,
'blablabla');
ERROR: parser: attribute 'field1' is of type 'varchar' but expression is
of type 'text'
Is this a version or settings issue? We're not 6.4, I know that much. . .
Larry Bottorff SouthWind Internet Access, Inc.
System Programmer 120 S. Market St. Suite 300
swprenzl@southwind.net Wichita, KS 67202
---------------------------------------------------------------------
In Wichita:(316)263-7964 Elsewhere:1-877-525-7964
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: swprenzl@southwind.net, george@flex.ro
Subject: Re: [SQL] int4 to varchar conversion
In-Reply-To: <Pine.BSI.4.02A.9901071103050.5260-100000@jasper.southwind.net>
References: <3694DBB4.CCF4DB9D@flex.ro> <Pine.BSI.4.02A.9901071103050.5260-100000@jasper.southwind.net>
* 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