[HACKERS] [PG-XC] how to pass a value(String) from coordinator node to all data nodes

2014-11-03 Thread Demai Ni
hi, hackers, I am looking for a simple way to pass a value(ideally a hashtable, and use a string for easy implementation for now), that is generated by coordinator node, and pass it to all data nodes. Plans may be one approach, I am just wondering whether there is a simpler hook? Many thanks for

Re: [HACKERS] foreign data wrapper option manipulation during Create foreign table time?

2014-10-29 Thread Demai Ni
> Le mercredi 29 octobre 2014 12:49:12 Robert Haas a écrit : > > On Tue, Oct 28, 2014 at 5:26 PM, Demai Ni wrote: > > > I am looking for a couple pointers here about fdw, and how to change > the > > > option values during CREATE table time. > > > > > >

Re: [HACKERS] foreign data wrapper option manipulation during Create foreign table time?

2014-10-28 Thread Demai Ni
On Tue, Oct 28, 2014 at 3:00 PM, Andrew Dunstan wrote: > > On 10/28/2014 05:26 PM, Demai Ni wrote: > >> hi, guys, >> >> I am looking for a couple pointers here about fdw, and how to change the >> option values during CREATE table time. >> >> I am using

[HACKERS] foreign data wrapper option manipulation during Create foreign table time?

2014-10-28 Thread Demai Ni
hi, guys, I am looking for a couple pointers here about fdw, and how to change the option values during CREATE table time. I am using postgres-xc-1.2.1 right now. For example, it contains file_fdw, whose create-table-stmt looks like: CREATE FOREIGN TABLE t1() SERVER file_server OPTIONS(format