pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feedPostgres dblink example
3+ messages / 3 participants
[nested] [flat]
* Postgres dblink example
@ 2021-10-29 14:02 Pratik Mehta <pratikmehta28@gmail.com>
0 siblings, 2 replies; 3+ messages in thread
From: Pratik Mehta @ 2021-10-29 14:02 UTC (permalink / raw)
To: pgsql-general@lists.postgresql.org
Hi Postgres Community,
I am an Oracle DBA with 12 years experience. The example in Postgres
dblink_connect page seems incomplete. We find it difficult to understand.
How can I get access to more examples ?
Also, in dblink page
https://www.postgresql.org/docs/12/contrib-dblink-function.html, can we get
example on how to create connname and connstr?
--
Regards,
Pratik Mehta
+91 9664022206
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Postgres dblink example
@ 2021-10-29 14:19 Tom Lane <tgl@sss.pgh.pa.us>
parent: Pratik Mehta <pratikmehta28@gmail.com>
1 sibling, 0 replies; 3+ messages in thread
From: Tom Lane @ 2021-10-29 14:19 UTC (permalink / raw)
To: Pratik Mehta <pratikmehta28@gmail.com>; +Cc: pgsql-general@lists.postgresql.org
Pratik Mehta <pratikmehta28@gmail.com> writes:
> I am an Oracle DBA with 12 years experience. The example in Postgres
> dblink_connect page seems incomplete. We find it difficult to understand.
> How can I get access to more examples ?
If you're really confused, you could look at the module's regression
tests:
https://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=contrib/dblink/sql/dblink.sql;h=7a71817...
https://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=contrib/dblink/expected/dblink.out;h=91...
regards, tom lane
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Postgres dblink example
@ 2021-10-29 15:17 Adrian Klaver <adrian.klaver@aklaver.com>
parent: Pratik Mehta <pratikmehta28@gmail.com>
1 sibling, 0 replies; 3+ messages in thread
From: Adrian Klaver @ 2021-10-29 15:17 UTC (permalink / raw)
To: Pratik Mehta <pratikmehta28@gmail.com>; pgsql-general@lists.postgresql.org
On 10/29/21 07:02, Pratik Mehta wrote:
> Hi Postgres Community,
>
> I am an Oracle DBA with 12 years experience. The example in Postgres
> dblink_connect page seems incomplete. We find it difficult to
> understand. How can I get access to more examples ?
>
> Also, in dblink page
> https://www.postgresql.org/docs/12/contrib-dblink-function.html
> <https://www.postgresql.org/docs/12/contrib-dblink-function.html;, can
> we get example on how to create connname and connstr?
See:
https://www.postgresql.org/docs/current/contrib-dblink-connect.html
>
> --
> Regards,
> Pratik Mehta
> +91 9664022206
--
Adrian Klaver
adrian.klaver@aklaver.com
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2021-10-29 15:17 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-10-29 14:02 Postgres dblink example Pratik Mehta <pratikmehta28@gmail.com>
2021-10-29 14:19 ` Tom Lane <tgl@sss.pgh.pa.us>
2021-10-29 15:17 ` 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