For schema name "test" and table name "tabletest" index name is going to be: "\"test\".\"tabletestname_idx\"".
Index name with "." between schema name and tablename is causing an error for SQL query:
"CREATE INDEX IF NOT EXISTS \"test\".\"tabletestname_idx\" ON \"test\".\""tabletest\"(name)"
There is a SQL error for defined table schema in config.yml (postgres persistence):
This error occurs for indexes creation:
c.EnsureIndex(c.TableName+"name_idx", map[string]string{"name": "1"}, map[string]string{})
because of "." in index name: https://github.com/pip-services3-go/pip-services3-postgres-go/blob/34afd39ad7c36b46b0a11380b040185443d9709a/persistence/PostgresPersistence.go#L228For schema name "test" and table name "tabletest" index name is going to be: "\"test\".\"tabletestname_idx\"". Index name with "." between schema name and tablename is causing an error for SQL query:
"CREATE INDEX IF NOT EXISTS \"test\".\"tabletestname_idx\" ON \"test\".\""tabletest\"(name)"