diff --git a/README.md b/README.md index e0c9247..77d6ccc 100644 --- a/README.md +++ b/README.md @@ -101,7 +101,7 @@ When `pg_ivm` is installed, the 'pgivm' schema is created, along with the follow Use `create_immv` function to create IMMV. ``` -pgivim.create_immv(immv_name text, view_definition text) RETURNS bigint +pgivm.create_immv(immv_name text, view_definition text) RETURNS bigint ``` `create_immv` defines a new IMMV of a query. A table of the name `immv_name` is created and a query specified by `view_definition` is executed and used to populate the IMMV. The query is stored in `pg_ivm_immv`, so that it can be refreshed later upon incremental view maintenance. `create_immv` returns the number of rows in the created IMMV.