use varchar in postgres.rs

This commit is contained in:
GroovieGermanikus 2024-02-08 08:14:46 +01:00
parent 9c7d769afc
commit 8fa88d7377
No known key found for this signature in database
GPG Key ID: 5B6EB831A5CD2015
1 changed files with 6 additions and 6 deletions

View File

@ -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,