X-Original-To: pgsql-docs-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 0D4605E46D2 for ; Sat, 14 Aug 2004 06:16:15 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 39840-04 for ; Sat, 14 Aug 2004 09:16:06 +0000 (GMT) Received: from cmailm4.svr.pol.co.uk (cmailm4.svr.pol.co.uk [195.92.193.211]) by svr1.postgresql.org (Postfix) with ESMTP id AAB2C5E46CF for ; Sat, 14 Aug 2004 06:16:04 -0300 (ADT) Received: from modem-2834.leopard.dialup.pol.co.uk ([217.135.155.18] helo=happyplace) by cmailm4.svr.pol.co.uk with smtp (Exim 4.14) id 1Bvudt-00084C-Bo; Sat, 14 Aug 2004 10:16:01 +0100 From: "Simon@2ndquadrant.com" To: , Subject: Re: Create Table and Index Definition for Partitions Date: Sat, 14 Aug 2004 10:30:13 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal In-Reply-To: <002e01c47b44$a6d954f0$9901a8c0@bigring> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200408/34 X-Sequence-Number: 2494 > Jerry Champlin wrote I'm currently putting together a tool to migrate schema definitions from Oracle to PostgreSQL. It's written in perl and easily extensible by others to add functionality I don't care to migrate. I need to know how to properly format create table, alter table, create index and alter index commands for the partitioning functionality about to be released. Could someone please provide a draft of that documentation or point me to the appropriate place in the code tree to figure it out. First off, there's already a tool to do this... ora2pg The functionality just released is for Tablespaces, not Partitions, which is a different concept altogether. The docs are available on-line for the SQL DDL statements you mention. Look at the docs via http://developer.postgresql.org/docs/postgres/index.html Best Regards, Simon Riggs