79178161

Date: 2024-11-11 15:12:22
Score: 2
Natty:
Report link

Another case.

If you have pgbouncer and routing is configured via the DB name db_master/db_slave, then in Laravel 9 and 10 you will catch the same error.

This is because the condition \vendor\laravel\framework\src\Illuminate\Database\Schema\Grammars\PostgresGrammar.php lines 76 and 86

table_catalog = ?

When building or deploying the application, you need to patch this file and remove this condition.

This was fixed in Laravel 11.

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: unlike777