-
Notifications
You must be signed in to change notification settings - Fork 262
Description
Basic Information
Installing pg, there a syntax error on the members table, and the members table is not created.
Two related issues here:
- The function indexable_month_day() is present in 2.1 & upon upgrades to 3.0, but it's not present on installs.
- This error is not displayed (I can only see it via debugging utilities).
Error text is as follows:
ERROR: function indexable_month_day(date) does not exist
LINE 1: ... INDEX ato_members_idx_birthdate2 ON ato_members (indexable_...
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
Note: None of the pg functions are created in 3.0 upon install...
Steps to reproduce
1.Install pg, the members table won't exist
2.NOTE: DROP and re-CREATE the database before starting the test if you are reusing the db. Otherwise the functions may still be present from a prior install/upgrade. To test the install, you need a fully empty database, including no functions, sequences, etc.
Much of this stuff is still laying around, even if you drop all the TABLEs in a DB.
Expected result
All tables created & populated; SMF pg functions created
Actual result
The members table does not exist.
You will see this on the Database Population screen during installation:
Some of the queries were not executed properly. This could be caused by an unsupported (development or old) version of your database software.
Technical information about the queries:
ERROR: relation "ato_members" does not exist
Note: None of the pg functions are created in 3.0 upon install...
Version/Git revision
3.0 Alpha 4 - current GitHub
Database Engine
PostgreSQL
Database Version
14
PHP Version
8.4.5
Logs
ERROR: function indexable_month_day(date) does not exist
LINE 1: ... INDEX ato_members_idx_birthdate2 ON ato_members (indexable_...
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.Additional Information
No response