db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Fischer <tfisc...@apache.org>
Subject Re: Serial type in Postgresql
Date Tue, 22 Nov 2005 21:44:07 GMT
As I understand it, a serial field is just a normal field with a default 
value fed by a sequence. So I do not see a difference between sequenes and 
serial fields. What can you do with serials which you cannot do with 
sequences ?

     Thomas


On Fri, 18 Nov 2005, Jakub Piechnik wrote:

> Hello
>
> I was using Torque 3.1.1 with Postgresql 8.0. In a schema file when I put 
> idMethoad as native and set field as type = "INTEGER", required="true", 
> autoInceremt ="true" in created sql file that fields was mentioned as serial 
> fields - why is that not working in Torque 3.2.-rc2? (Normal INTEGER fields 
> are created with sequence - but serial fields are more usefull)
>
> Greetings
> Jakub Piechnik
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-user-help@db.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message