pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Queries in another user's tables
3+ messages / 3 participants
[nested] [flat]

* Queries in another user's tables
@ 2022-07-24 07:37 xavier@datolibre.com
  2022-07-24 09:19 ` Re: Queries in another user's tables Pavel Stehule <pavel.stehule@gmail.com>
  2022-07-24 16:29 ` Re: Queries in another user's tables Adrian Klaver <adrian.klaver@aklaver.com>
  0 siblings, 2 replies; 3+ messages in thread

From: xavier@datolibre.com @ 2022-07-24 07:37 UTC (permalink / raw)
  To: pgsql-general

Hello friends, I have a database base01 that belongs to user01 and on 
the other hand a datebase base02 that belongs to user02. I need user01 
to make a query "SELECT * FROM base02.yourtable;"

How can you get this?

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Queries in another user's tables
  2022-07-24 07:37 Queries in another user's tables xavier@datolibre.com
@ 2022-07-24 09:19 ` Pavel Stehule <pavel.stehule@gmail.com>
  1 sibling, 0 replies; 3+ messages in thread

From: Pavel Stehule @ 2022-07-24 09:19 UTC (permalink / raw)
  To: xavier@datolibre.com; +Cc: pgsql-general

Hi


ne 24. 7. 2022 v 9:38 odesílatel <xavier@datolibre.com> napsal:

> Hello friends, I have a database base01 that belongs to user01 and on the
> other hand a datebase base02 that belongs to user02. I need user01 to make
> a query "SELECT * FROM base02.yourtable;"
>
> How can you get this?
>

see https://www.postgresql.org/docs/current/postgres-fdw.html

Regards

Pavel

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Queries in another user's tables
  2022-07-24 07:37 Queries in another user's tables xavier@datolibre.com
@ 2022-07-24 16:29 ` Adrian Klaver <adrian.klaver@aklaver.com>
  1 sibling, 0 replies; 3+ messages in thread

From: Adrian Klaver @ 2022-07-24 16:29 UTC (permalink / raw)
  To: xavier@datolibre.com; pgsql-general

On 7/24/22 00:37, xavier@datolibre.com wrote:
> Hello friends, I have a database base01 that belongs to user01 and on 
> the other hand a datebase base02 that belongs to user02. I need user01 
> to make a query "SELECT * FROM base02.yourtable;"
> 
> How can you get this?
> 

In what client are you doing this?


-- 
Adrian Klaver
adrian.klaver@aklaver.com





^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2022-07-24 16:29 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-07-24 07:37 Queries in another user's tables xavier@datolibre.com
2022-07-24 09:19 ` Pavel Stehule <pavel.stehule@gmail.com>
2022-07-24 16:29 ` Adrian Klaver <adrian.klaver@aklaver.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox