From: Ashutosh B. <ash...@en...> - 2012-02-29 04:34:00
|
If that's possible +1. It will also simplify Execute Direct handling, which needs an extra parsing step. On Wed, Feb 29, 2012 at 6:11 AM, David E. Wheeler <da...@ju...>wrote: > PGXCers, > > Michael Paquier pointed out EXECUTE DIRECT to me today, which is quite > handy. I'm wondering, however, if it might not be too late to change the > parser to allow a raw query to be passed to it, rather than a string. That > is, instead of this: > > execute direct on node dn1 'select * from nodes'; > > I'd like to do this: > > execute direct on node dn1 select * from nodes; > > Note the lack of single quotes. It seems to me that there is a precedent > in EXPLAIN for this. If it needs to support more parameters, perhaps they > could be included in parentheses, again following EXPLAIN: > > execute direct (node nd1, coordinator coord2) SELECT * FROM nodes; > > Thoughts? > > Thanks, > > David > > ------------------------------------------------------------------------------ > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > Postgres-xc-developers mailing list > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/postgres-xc-developers > -- Best Wishes, Ashutosh Bapat EntepriseDB Corporation The Enterprise Postgres Company |