X-Original-To: pgadmin-support-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 99304D1D56A for ; Sun, 11 Jan 2004 10:48:38 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 32082-09 for ; Sun, 11 Jan 2004 06:48:09 -0400 (AST) Received: from anchor-post-30.mail.demon.net (anchor-post-30.mail.demon.net [194.217.242.88]) by svr1.postgresql.org (Postfix) with ESMTP id 79258D1B4C2 for ; Sun, 11 Jan 2004 06:48:06 -0400 (AST) Received: from mailgate.vale-housing.co.uk ([80.176.1.146] helo=salem.vale-housing.co.uk) by anchor-post-30.mail.demon.net with esmtp (Exim 3.35 #1) id 1Afd8a-000OJq-0U; Sun, 11 Jan 2004 10:48:08 +0000 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Subject: Re: bug? Date: Sun, 11 Jan 2004 10:48:08 -0000 Message-ID: <03AF4E498C591348A42FC93DEA9661B87203E1@mail.vale-housing.co.uk> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [pgadmin-support] bug? Thread-Index: AcPXr2DS3DQ7i3MmTuynNUWaoeqMSQAf7C7w From: "Dave Page" To: "gary" , X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200401/23 X-Sequence-Number: 2702 Hi Gary,=20 > -----Original Message----- > From: gary [mailto:gary@virtrail.com]=20 > Sent: 10 January 2004 05:05 > To: pgadmin-support@postgresql.org > Subject: [pgadmin-support] bug? >=20 > hi, > i have succesfully migrated the MSSQL database to=20 > postgresql using the database migration wizard of pgadmin. is=20 > there a way to disable the naming modification during the=20 > migration process. > .for example, all the foreign key is append with the string=20 > '_fk' .=20 No, I'm afraid this is not possible unless you can modify the code yourself. > And one thing i notice is that if my MSSQL index name=20 > contain the string 'name' eg IX_UC_Community_name, migration=20 > will rename it to IX_UC_Community_-0 The algorithm actually creates the name as: __idx- However the _ section is truncated to a maximum of 26 characters. There are various historical reasons for this - mainly it is to ensure that the name is both unique across the database, not too long (for older versions of PostgreSQL), and vaguely useful. Again though, you cannot modify this behaviour without changing the code. > great software though! Thanks! Regards, Dave.