Re: [pgadmin-support] Alternative Serial

2007-03-11 Thread Milen A. Radev
Ezequias Rodrigues da Rocha написа: > Yes you are right, I means sequences. > Please re-read my reply! > The second way is better for me that have Id (PK) fields not defined as > Sequences. Now it is much more difficult to change the type of my PK than A field could not be defined as 'sequen

Re: [pgadmin-support] Alternative Serial

2007-03-11 Thread Ezequias Rodrigues da Rocha
Yes you are right, I means sequences. The second way is better for me that have Id (PK) fields not defined as Sequences. Now it is much more difficult to change the type of my PK than define a Default value. I am just concerned about the consistency of this sequence. Could you make me more eas

Re: [pgadmin-support] Alternative Serial

2007-03-11 Thread Milen A. Radev
Ezequias Rodrigues da Rocha написа: > Hi list, > > I know that serials must be created like this. Actually no. > Create the Serial There is no db object 'Serial' you could create independently - you probably mean 'sequence'. > > Create a field table and reffers to the pre-created serial. You

[pgadmin-support] Alternative Serial

2007-03-11 Thread Ezequias Rodrigues da Rocha
Hi list, I know that serials must be created like this. Create the Serial Create a field table and reffers to the pre-created serial. Now I noticed that it is possible to use the default value. I am almost quite sure that this is an alternative way and non polite. I would like to know if I am