From f79ca95887ea7c16c95fb1af48a5c89acd797472 Mon Sep 17 00:00:00 2001 From: Dimitri Fontaine Date: Tue, 26 Nov 2013 16:53:23 +0100 Subject: [PATCH] Add some documentation about the new MATCHING clause implementation. --- pgloader.1.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pgloader.1.md b/pgloader.1.md index c37695d..c247622 100644 --- a/pgloader.1.md +++ b/pgloader.1.md @@ -705,6 +705,13 @@ The `archive` command accepts the following clauses and options: which allows the pgloader command not to depend on the exact names of the archive directories. + The same clause can also be applied to several files with using the + spelling *FROM ALL FILENAMES MATCHING* and a regular expression. + + The whole *matching* clause must follow the following rule: + + FROM [ ALL FILENAMES | [ FIRST ] FILENAME ] MATCHING + - *FINALLY DO* SQL Queries to run once the data is loaded, such as `CREATE INDEX`.