[8.x] Fix php artisan db
command for the Postgres CLI
#35725
Merged
php artisan db
command for the Postgres CLI
#35725