dblinks

From: sumaya(at)silvermoongroup(dot)com
To: pgsql-sql(at)postgresql(dot)org
Subject: dblinks
Date: 2008-05-17 22:58:40
Message-ID: W6447414777126101211065120@webmail12
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hi,

I am accessing data across different databases using dblinks but the dates are getting messed up:
table: mytable
columns: my_id int
my_date date
values: 1
2008-04-09

When retrieving data from the table in the relevant database the date is returned correctly: 2008-04-09
but when retrieving across dblinks using statement below, I get the following error:
statement looks like

select * from mytable(at)mydblink;

the error refers to the datestyle setting and shows the date as '2008-09-04'

Please advise if there is a way around this.

Thanks,
Sumaya

Responses

  • Re: dblinks at 2008-05-17 23:31:35 from Jonah H. Harris

Browse pgsql-sql by date

  From Date Subject
Next Message Jonah H. Harris 2008-05-17 23:31:35 Re: dblinks
Previous Message Chris Browne 2008-05-16 16:21:08 Re: Find all instances of a column in the entire database.