-hack...@postgresql.org
Assunto: Re: [GENERAL] Alter column...using failure under 9.0.4
=?iso-8859-1?Q?Bj=F6rn_H=E4user?= writes:
> Am 25.09.2011 um 17:17 schrieb Edson Carlos Ericksson Richter:
>> alter table usuario alter column ativo type smallint using (case when
>> ati
=?iso-8859-1?Q?Bj=F6rn_H=E4user?= writes:
> Am 25.09.2011 um 17:17 schrieb Edson Carlos Ericksson Richter:
>> alter table usuario alter column ativo type smallint using (case when ativo
>> then 1 else 0 end);
>> ERROR: argument of IS FALSE must be type boolean, not type smallint
> you could che
Hello,
you could check for indices or something like that.
Björn
Am 25.09.2011 um 17:17 schrieb Edson Carlos Ericksson Richter:
> Dear list,
>
> I’ve a strange issue here. I’ve a table that I’m sure the column type is
> boolean. I can see the datatype is boolean on PgAdmin.
>
> Nevertheles
Dear list,
Ive a strange issue here. Ive a table that Im sure the column type is
boolean. I can see the datatype is boolean on PgAdmin.
Nevertheless, when I issue this command
alter table usuario alter co