Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Hackers > Re: Exposing qu...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 9 of 12 Topic 9303 of 10406
Post > Topic >>

Re: Exposing quals

by heikki@[EMAIL PROTECTED] ("Heikki Linnakangas") Jul 8, 2008 at 06:22 PM

Simon Riggs wrote:
> SQL, in text form, is the interface to other databases. You can't pass
> half a plan tree to Oracle, especially not a PostgreSQL plan tree. It
> has to be text if you wish to send a query to another RDBMS, or another
> version of PostgreSQL.

Oh, I see. Agreed.

Though note that there's big differences in SQL dialects, so a 
one-size-fits-all approach to generating SQL to be executed in the 
remote database won't work. (not that I think anyone has suggested that)

> So if I understand you, you want to pass the partial plan tree and then
> have a plugin construct the SQL text.

Exactly.

> Maybe you thought I meant internal interfaces should be in text?

Yeah, that's exactly what I thought you meant.

> No,
> that would be bizarre. I meant we should not attempt to pass partial
> plan trees outside of the database, since that would limit the feature
> to only working with the same version of PostgreSQL database. 

Agreed. I'm glad we're on the same page now.

-- 
   Heikki Lin****angas
   EnterpriseDB   http://www.enterprisedb.com

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
 




 12 Posts in Topic:
Exposing quals
david@[EMAIL PROTECTED]   2008-05-05 12:01:18 
Re: Exposing quals
simon@[EMAIL PROTECTED]   2008-07-07 22:33:38 
Re: Exposing quals
heikki@[EMAIL PROTECTED]   2008-07-08 17:51:09 
Re: Exposing quals
andrew@[EMAIL PROTECTED]   2008-07-07 18:46:29 
New relkind (was Re: Exposing quals)
david@[EMAIL PROTECTED]   2008-07-07 16:26:50 
Re: New relkind (was Re: Exposing quals)
simon@[EMAIL PROTECTED]   2008-07-08 07:01:00 
Re: New relkind (was Re: Exposing quals)
postgres@[EMAIL PROTECTED  2008-07-08 15:06:33 
Re: Exposing quals
simon@[EMAIL PROTECTED]   2008-07-08 16:20:06 
Re: Exposing quals
heikki@[EMAIL PROTECTED]   2008-07-08 18:22:23 
Re: Exposing quals
david@[EMAIL PROTECTED]   2008-07-08 08:38:35 
Re: Exposing quals
JanWieck@[EMAIL PROTECTED  2008-07-08 14:41:45 
Re: Exposing quals
david@[EMAIL PROTECTED]   2008-07-14 16:02:28 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Oct 13 2:22:08 CDT 2008.