"Przemysław" <[EMAIL PROTECTED]> writes: > Hello > I dont know is this a bug but when I use COPY to load data into table > sequence of the primary key in this table have always start value = > 1.
Doesn't sound like a bug. If the input data for COPY does not include PK values, you should not include the PK column in the COPY's column list, and make sure the PK column's default value gets the nextval() from the sequence. -Neil ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org