Skip to content
This repository has been archived by the owner on Sep 9, 2021. It is now read-only.

Postgres cross-database references #7

Open
Juddling opened this issue Dec 10, 2018 · 2 comments
Open

Postgres cross-database references #7

Juddling opened this issue Dec 10, 2018 · 2 comments

Comments

@Juddling
Copy link

  • Laravel Cross Database Subqueries Version: 5.6.5
  • PHP Version: 7.1.20
  • Database Driver & Version: Postgres 9.4

Description:

I'm trying to run a whereHas where one model lives in one database, and the pivot and the other model lives in another database.

Although your package correctly detects the connections are different, and alters the query, I believe Postgres itself doesn't support this behaviour:

SQLSTATE[0A000]: Feature not supported: 7 ERROR:  cross-database references are not implemented
@maguilar92
Copy link

This two database are in different server or have another credentials?

@Juddling
Copy link
Author

This two database are in different server or have another credentials?

Same server, same user in fact.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants