From 8fa88d73775c6970aa5ccfabd4c6276fb9ae5c14 Mon Sep 17 00:00:00 2001 From: GroovieGermanikus Date: Thu, 8 Feb 2024 08:14:46 +0100 Subject: [PATCH] use varchar in postgres.rs --- src/postgres.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/postgres.rs b/src/postgres.rs index fc546c1..d95f8e1 100644 --- a/src/postgres.rs +++ b/src/postgres.rs @@ -200,7 +200,7 @@ impl PostgresSession { format!( r#" CREATE TEMP TABLE {}( - signature char(88) + signature varchar(88) ); "#, temp_table @@ -322,7 +322,7 @@ impl PostgresSession { .execute( format!( "CREATE TEMP TABLE {}( - sig char(88), + sig varchar(88), slot BIGINT, error_code INT, count INT, @@ -414,8 +414,8 @@ impl PostgresSession { .execute( format!( "CREATE TEMP TABLE {}( - account_key char(44), - signature char(88), + account_key varchar(44), + signature varchar(88), is_writable BOOL, is_signer BOOL, is_atl BOOL @@ -551,7 +551,7 @@ impl PostgresSession { .execute( format!( "CREATE TEMP TABLE {}( - signature char(88), + signature varchar(88), processed_slot BIGINT, is_successful BOOL, cu_requested BIGINT, @@ -648,7 +648,7 @@ impl PostgresSession { .execute( format!( "CREATE TEMP TABLE {}( - account_key char(44), + account_key varchar(44), slot BIGINT, is_write_locked BOOL, total_cu_requested BIGINT,