mirror of
https://github.com/dimitri/pgloader.git
synced 2025-08-07 23:07:00 +02:00
Fix SQLite SQL queries.
Some copy-paste errors made their way to those queries and prevented usage of pgloader, but I missed that because I was using a previous version of the query text files in my interactive environment. Also, SQLite doesn't like the queries finishing with a semi-colon, so remove them. Fixes #747.
This commit is contained in:
parent
8e3ebd5f1e
commit
67a1b1d408
@ -1,4 +1 @@
|
|||||||
-- params: table-name
|
select seq from sqlite_sequence where name = '~a'
|
||||||
select seq
|
|
||||||
from sqlite_sequence
|
|
||||||
where name = '~a';
|
|
||||||
|
@ -3,4 +3,4 @@ SELECT tbl_name
|
|||||||
WHERE type='table'
|
WHERE type='table'
|
||||||
AND tbl_name <> 'sqlite_sequence'
|
AND tbl_name <> 'sqlite_sequence'
|
||||||
~:[~*~;AND (~{~a~^~&~10t or ~})~]
|
~:[~*~;AND (~{~a~^~&~10t or ~})~]
|
||||||
~:[~*~;AND (~{~a~^~&~10t and ~})~]"
|
~:[~*~;AND (~{~a~^~&~10t and ~})~]
|
||||||
|
Loading…
Reference in New Issue
Block a user