Skip to content

Why doesn't postgresql.to_sql support a TRUNCATE overwrite_method? #2728

Closed
@senorcinco

Description

@senorcinco

I've mostly used the SDK for loading data into Redshift, so I was surprised to learn that postgresql.to_sql doesn't support a TRUNCATE overwrite_method. I need to preserve table indexes, so dropping the table isn't possible. I read that a PostgreSQL TRUNCATE isn't MVCC compliant. Is that the reason why it isn't supported?

Metadata

Metadata

Labels

backlogenhancementNew feature or requestquestionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions