Hi

When I'm using pg_Admin3 Query and try to do INSERT when there is a sequence on table I have to put the field value explicitly. When there is a serial field - the values is automaticly incremented and put into column - it's far more useful as autoIncrement and required set as true in schema file. It was working good with 3.1.1 version and PostreSQL database

Greetings
Jakub

Thomas Fischer napisaƂ(a):

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to