pg.ddx.io pgsql-sql@postgresql.org mailing list archive
help / color / mirror / Atom feedDistributed database ?
3+ messages / 3 participants
[nested] [flat]
* Distributed database ?
@ 2001-01-18 15:00 guard <guard@ficnet.net>
0 siblings, 1 reply; 3+ messages in thread
From: guard @ 2001-01-18 15:00 UTC (permalink / raw)
To: pgsql-sql
how to run "select from databaseA:tabl1 ,databaseB:table2 "
thanks
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Distributed database ?
@ 2001-01-19 14:01 D'Arcy J.M. Cain <darcy@druid.net>
parent: guard <guard@ficnet.net>
0 siblings, 0 replies; 3+ messages in thread
From: darcy@druid.net @ 2001-01-19 14:01 UTC (permalink / raw)
To: guard <guard@ficnet.net>; +Cc: pgsql-sql
Thus spake guard
> how to run "select from databaseA:tabl1 ,databaseB:table2 "
You can't. You have to have two databases open and do it yourself. I use
Python and often do things like this.
import pg
adb = pg.DB('dbase_a')
bdb = pg.DB('dbase_b')
row = adb.get('table_a', 1) # second argument references primary key
# of table_a in database_a
bdb.get('table_b', row) # one of the fields in row is the primary
# key of table_b in database_b
This assumes that the field names are consistent between databases otherwise
you have to add an extra assignment in but that's the basic idea. Similar
ways exist in other interfaces.
--
D'Arcy J.M. Cain <darcy@{druid|vex}.net> | Democracy is three wolves
http://www.druid.net/darcy/ | and a sheep voting on
+1 416 425 1212 (DoD#0082) (eNTP) | what's for dinner.
^ permalink raw reply [nested|flat] 3+ messages in thread
* distributed database
@ 2001-07-08 04:25 Sharmad Naik <sharmad@goatelecom.com>
0 siblings, 0 replies; 3+ messages in thread
From: Sharmad Naik @ 2001-07-08 04:25 UTC (permalink / raw)
To: pgsql-sql
How can i have distributed dbase in PostgreSQL (multiple and
incomplete database ..horizontal & vertical frag.).Can anybody give me a
link or something related to it.
-Thanks
Sharmad
--
Donot rely on the Operating System which don't have any sources for.
-Seen somewhere on the Net
__ _ _ _ _
|_|_||_||_||\/||_|| \
_|| || || \| || ||_/
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2001-07-08 04:25 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-01-18 15:00 Distributed database ? guard <guard@ficnet.net>
2001-01-19 14:01 ` D'Arcy J.M. Cain <darcy@druid.net>
2001-07-08 04:25 distributed database Sharmad Naik <sharmad@goatelecom.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