Re: Postgres v MySQL 5.0 - Mailing list pgsql-advocacy

From Josh Berkus
Subject Re: Postgres v MySQL 5.0
Date
Msg-id 200611061055.11699.josh@agliodbs.com
Whole thread Raw
In response to Re: Postgres v MySQL 5.0  (stig erikson <stigerikson_nospam_@yahoo.se>)
Responses Re: Postgres v MySQL 5.0  ("Magnus Hagander" <mha@sollentuna.net>)
List pgsql-advocacy
Stig,

> However, currently i miss the following in PG:
> SQL such as: GROUPING SETS, CUBE, ROLLUP. Also looking for WITH RECURSION
> for recursive SQL-queries.

yep, you and everyone else.  Windowing aggregates are a big TODO.   WITH
RECURSION was supposed to be done by Jonah Harris for 8.2 but he bailed.
Take a look at the CUBE contrib module for 8.2, it's enhanced.

> a very handy thing in mysql is FEDERATED tables that allows one to open a
> channel from one MySQL-server to another MySQL-server. Does PG have
> anything similar?

Yes, and for far more than MySQL covers:

dblink:  /contrib/tablefunc in your PostgreSQL source
dbi-link: http://pgfoundry.org/projects/dbi-link
   (note that this allows connecting to *any* tabular data source)
oracle link: http://pgfoundry.org/projects/oralink
mssql link: http://pgfoundry.org/projects/dblink-tds/

--
Josh Berkus
PostgreSQL @ Sun
San Francisco

pgsql-advocacy by date:

Previous
From: stig erikson
Date:
Subject: Re: Postgres v MySQL 5.0
Next
From: Josh Berkus
Date:
Subject: Re: Need replacement booth member for USENIX Lisa