From: | David Fetter <david(at)fetter(dot)org> |
---|---|
To: | Magnus Hagander <magnus(at)hagander(dot)net> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: FDW table hints |
Date: | 2011-05-02 21:56:01 |
Message-ID: | 20110502215601.GC4741@fetter.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Mon, May 02, 2011 at 09:27:08PM +0200, Magnus Hagander wrote:
> postgres=# DROP TABLE FOO;
> ERROR: "foo" is not a table
> HINT: Use DROP FOREIGN TABLE to remove a foreign table.
> postgres=# CREATE INDEX baz ON foo(bar);
> ERROR: "foo" is not a table
>
> To some, that would be confusing - foo kind of is a table, just a
> different kind. Should we have some HINT on that one as well?
Until we can actually create indexes on foreign tables, yes ;)
Cheers,
David (Local indexes? Foreign indexes? Both?)
--
David Fetter <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)com
iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics
Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate
From | Date | Subject | |
---|---|---|---|
Next Message | Jim Nasby | 2011-05-03 00:27:11 | Re: Select For Update and Left Outer Join |
Previous Message | David Fetter | 2011-05-02 20:53:35 | Re: HTML tags :/ |