My MediaWiki is using the PostgreSQL database, and when you go into the MediaWiki database, run the SQL
Select * from Pg_tables;
You will find that the schemaname of the MediaWiki data table is MediaWiki, but the schemaname of the table we created is public,
So then you run the SELECT * from table_name directly; , you will find no information to show that there is no such data table,
WORKAROUND: SELECT * from Mediawiki.table_name; That is, you need to add schemaname before the table name. Check it out and find out how the great God explained PostgreSQL's SchemaName:
The schema concept is a bit like a namespace or as a directory in a filesystem, and the difference is that schema nesting can no longer be nested within the schemas.
Objects such as tables, functions, etc. are stored under each schema, the same schema cannot have duplicate object names, but can be duplicated under different schemas.
Wait, wait, etc... The
Record a direct operation MediaWiki the pit that the database encounters