use varchar in postgres.rs
This commit is contained in:
parent
9c7d769afc
commit
8fa88d7377
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue