mirror of
https://github.com/dimitri/pgloader.git
synced 2025-08-09 15:56:58 +02:00
First review the `sqlite_sequence` support so that we can still work with databases that don't have this catalog, which doesn't always exists -- it might depend on the SQLite version though. Then while at it use the sql macro to host the SQLite “queries” in their own files, enhancing the hackability of the system to some degrees. Not that much, because we have to use a lot of PGRAMA command and then the column output isn't documented with the query text itself.
4 lines
73 B
SQL
4 lines
73 B
SQL
SELECT tbl_name
|
|
FROM sqlite_master
|
|
WHERE tbl_name = 'sqlite_sequence'
|