This is a discussion on Postgre connect on Postgre within the Pgsql General forums, part of the PostgreSQL category; --> Hi All How I can connect a postgre database on another postgre database, and manipulate the datas on both ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Thanks man!! I'll study this module!! On Tue, Aug 26, 2008 at 11:19 PM, Christophe <xof@thebuild.com> wrote: > > On Aug 26, 2008, at 7:10 PM, Anderson dos Santos Donda wrote: > >> How I can connect a postgre database on another postgre database, and >> manipulate the datas on both database? >> > > There is a module in contrib just for such a purpose: > > http://www.postgresql.org/docs/8.3/i...ve/dblink.html > > -- > Sent via pgsql-general mailing list (pgsql-general@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-general > |
| |||
| I traced a bug in our application down to this basic operation: set timezone to 'US/Eastern'; select '11/02/2008'::timestamptz, '12:10'::time, '11/02/2008'::timestamptz + '12:10'::time; I have a date and a time stored separately and I want to combine them, and use them in some timezone-aware calculations. When I add the time 12:10 to the date 11/2/08, I expect the timestamp "11/2/08 12:10" but instead, I get "11/2/08 11:10". It's probably not coincidence that daylight saving time rolls back one hour on the morning of 11/2. Still, I would have expected the above behavior when adding an interval to a timestamp, but not a time. Is the time being cast to an interval before the add? Is there a better way to combine a date with a time and get a timestamptz ? (the values are stored in the database, and are not literals as in my example) -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general |
| ||||
| If you are using functions take a look at plProxy. We created it after finding out that dblink wasn't good enough for us in oltp environments. There are also some security issues related to dblink that should be given serious consideration. As for replication SkyTools and Londiste are alternatives to Slony. SkyTools should provide less management headaches. http://kaiv.wordpress.com/2007/09/02...proxy-part-ii/ regards Asko On Wed, Aug 27, 2008 at 8:09 AM, Tino Wildenhain <tino@wildenhain.de> wrote: > Hi, > > Anderson dos Santos Donda wrote: > >> Thanks man!! >> >> I'll study this module!! >> > > You should also be aware that sometimes instead of > connecting two separate databases via dblink or similar, > two schemas in one database can be used instead. > > It really depends on what you are really doing if > there are even more solutions (like slony for example). > > Regards > Tino > > PS: the database likes to be called Postgresql or Postgres :-) > > On Tue, Aug 26, 2008 at 11:19 PM, Christophe <xof@thebuild.com <mailto: >> xof@thebuild.com>> wrote: >> >> >> On Aug 26, 2008, at 7:10 PM, Anderson dos Santos Donda wrote: >> >> How I can connect a postgre database on another postgre >> database, and manipulate the datas on both database? >> >> >> There is a module in contrib just for such a purpose: >> >> http://www.postgresql.org/docs/8.3/i...ve/dblink.html >> >> -- Sent via pgsql-general mailing list ( >> pgsql-general@postgresql.org >> <mailto >> To make changes to your subscription: >> http://www.postgresql.org/mailpref/pgsql-general >> >> >> > |
| Thread Tools | |
| Display Modes | |
|
|
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| postgre linkage with non-postgre db | Petronenko D.S. | pgsql Novice | 9 | 04-17-2008 11:00 PM |
| postgre vs MySQL | rrahul | Pgsql General | 81 | 04-10-2008 12:22 AM |
| Postgre and XML | x asasaxax | Pgsql General | 7 | 04-10-2008 12:11 AM |
| New to Postgre | Bob Pawley | Pgsql General | 2 | 04-08-2008 10:25 PM |
| Postgre 8.0 vs 7.3 | Charl Gerber | Pgsql General | 2 | 04-08-2008 08:46 PM |