Skip to content

Commit

Permalink
add vid always
Browse files Browse the repository at this point in the history
  • Loading branch information
zorancv committed Feb 12, 2025
1 parent 157c291 commit ca5c704
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions store/postgres/src/relational/dsl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,6 @@ impl<'a> Table<'a> {
match column_names {
AttributeNames::All => {
cols.extend(self.meta.columns.iter());
cols.push(&*VID_COL);
}
AttributeNames::Select(names) => {
let pk = self.meta.primary_key();
Expand All @@ -283,8 +282,8 @@ impl<'a> Table<'a> {
}
}

cols.push(&*VID_COL);
if T::WITH_SYSTEM_COLUMNS {
cols.push(&*VID_COL);
if self.meta.immutable {
cols.push(&*BLOCK_COL);
} else {
Expand Down

0 comments on commit ca5c704

Please sign in to comment.