Skip to main content

LOCK_VERSION

Constant LOCK_VERSION 

Source
pub(crate) const LOCK_VERSION: u8 = 2;
Expand description

Highest types.lock format this binary understands.

Version 2 records structured types; version 1 recorded a bare SQL type name per column, which cannot express a record. A version 1 file still loads: its type names parse as DataType::Named, and only the columns whose name was a pseudo-type token are unreconstructible.