pub struct PgDialect;Trait Implementations§
Source§impl Dialect for PgDialect
impl Dialect for PgDialect
Source§fn whole_table_checksum_sql(
&self,
table: &TableRef,
plan: &ComparePlan,
) -> Result<String>
fn whole_table_checksum_sql( &self, table: &TableRef, plan: &ComparePlan, ) -> Result<String>
joindiff: fast-exit precheck (whole-table checksum + count)
Source§fn joindiff_sql(
&self,
a: &TableRef,
b: &TableRef,
plan: &ComparePlan,
) -> Result<JoinDiffQuery>
fn joindiff_sql( &self, a: &TableRef, b: &TableRef, plan: &ComparePlan, ) -> Result<JoinDiffQuery>
joindiff: full outer join
Source§fn materialize_sql(
&self,
a: &TableRef,
b: &TableRef,
plan: &ComparePlan,
target: &TableRef,
) -> Result<String>
fn materialize_sql( &self, a: &TableRef, b: &TableRef, plan: &ComparePlan, target: &TableRef, ) -> Result<String>
materialize: one CREATE TABLE AS … writing the joindiff result
(op / key / src_row / dst_row JSON) server-side. Plain CTAS: fails if
target exists — never drops or replaces (docs/superpowers spec, 2026-07-05).Source§fn normalize_column(&self, _col: &ColumnSchema) -> Result<String>
fn normalize_column(&self, _col: &ColumnSchema) -> Result<String>
hashdiff: normalization matrix - One column -> canonical SQL expression
Source§fn digest_expr(&self, _canon_cols: &[String]) -> Result<String>
fn digest_expr(&self, _canon_cols: &[String]) -> Result<String>
hashdiff: per-row digest from canonical expressions -> md5 -> two u64 halves
Source§fn keyspace_bounds_sql(
&self,
_table: &TableRef,
_key: &ColumnSchema,
) -> Result<String>
fn keyspace_bounds_sql( &self, _table: &TableRef, _key: &ColumnSchema, ) -> Result<String>
hashdiff: bound the keyspace
Source§fn segment_checksum_sql(
&self,
_table: &TableRef,
_plan: &ComparePlan,
_segment: &Segment,
) -> Result<String>
fn segment_checksum_sql( &self, _table: &TableRef, _plan: &ComparePlan, _segment: &Segment, ) -> Result<String>
hashdiff: one segment’s checksum tuple, server-side execution
Source§fn segment_rows_sql(
&self,
_table: &TableRef,
_plan: &ComparePlan,
) -> Result<String>
fn segment_rows_sql( &self, _table: &TableRef, _plan: &ComparePlan, ) -> Result<String>
hashdiff: leaf rows for a narrowed, still-disagreeing segment
Auto Trait Implementations§
impl Freeze for PgDialect
impl RefUnwindSafe for PgDialect
impl Send for PgDialect
impl Sync for PgDialect
impl Unpin for PgDialect
impl UnsafeUnpin for PgDialect
impl UnwindSafe for PgDialect
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more