Re: Field types - Mailing list pgsql-general

From Tom Lane
Subject Re: Field types
Date
Msg-id 17952.1015357750@sss.pgh.pa.us
Whole thread Raw
In response to Re: Field types  ("Pirtea Calin" <pcalin@rdsor.ro>)
List pgsql-general
"Pirtea Calin" <pcalin@rdsor.ro> writes:
>> int8 should certainly work on that.  What exactly did you try,
>> and what happened?
>>
> create table catalog1
> (id int8 not null primary key
> ,Info1 VarChar(15) not null
> ,Info2 VarChar(30) not null);

Looks fine to me.  You still haven't shown us exactly what goes wrong
for you (like a query and an error message ...)

> Question: Why "Alignment = Double"

That's what it's supposed to be.

> The version string "PostgreSQL 7.1.3 on i686-pc-linux-gnu, compiled by GCC
> 2.95.3"
> is from pgAdmin II connection info.
> Is it posible that my server is not what this info sais?

Try "select version()" to get the server version for sure.

            regards, tom lane

pgsql-general by date:

Previous
From: "Pirtea Calin"
Date:
Subject: Re: Field types
Next
From: James Leigh
Date:
Subject: Re: lo_open problems