Re: New Patch file for MS SQL autonumbers

From: John McCawley <jmccawley(at)worleyco(dot)com>
To: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: New Patch file for MS SQL autonumbers
Date: 2002-06-17 23:14:23
Message-ID: 3D0E6D4F.6080409@worleyco.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

A bug was introduced into pgMigration when I added the sequence drop
code. If you were importing a table that had an autonumber, but there
was no conflicting sequence on import, the CREATE SEQUENCE line would
end up with an invalid query. (The variable would have junk in it from
an earlier query)

The patch is attached, it is simply setting the query to an empty string
before it is used.

John

Attachment Content-Type Size
frmWizard_jmccawley_6_17_2002_2.patch text/plain 3.7 KB

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Satoshi Nagayasu 2002-06-20 05:31:17 internationalization (message translation)
Previous Message Dave Page 2002-06-17 21:58:25 Re: New Patch file for MS SQL autonumbers