public inbox for [email protected]
help / color / mirror / Atom feedFrom: Dave Page <[email protected]>
To: gary <[email protected]>
To: [email protected]
Subject: Re: bug?
Date: Sun, 11 Jan 2004 10:48:08 -0000
Message-ID: <[email protected]> (raw)
Hi Gary,
> -----Original Message-----
> From: gary [mailto:[email protected]]
> Sent: 10 January 2004 05:05
> To: [email protected]
> Subject: [pgadmin-support] bug?
>
> hi,
> i have succesfully migrated the MSSQL database to
> postgresql using the database migration wizard of pgadmin. is
> there a way to disable the naming modification during the
> migration process.
> .for example, all the foreign key is append with the string
> '_fk' .
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
> contain the string 'name' eg IX_UC_Community_name, migration
> will rename it to IX_UC_Community_-0
The algorithm actually creates the name as:
<tablename>_<indexname>_idx-<num>
However the <tablename>_<indexname> 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.
view thread (14+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: bug?
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox