12 years agoAdded better blob/text size support for SQL Server people/silverdirk/sqlserver-diff-support
Michael Conrad [Sat, 27 Aug 2011 05:37:06 +0000]
Added better blob/text size support for SQL Server

Issues related to maximum sizes of blobs and varchar are now handled correctly.
Added support for conversion from MySQL's tinytext/mediumtext/longtext types.
Added drop_table support.

12 years agoAdded alter-table support to Producer::SQLServer
Michael Conrad [Thu, 2 Jun 2011 22:22:31 +0000]
Added alter-table support to Producer::SQLServer

I refactored most of the existing code into a method 'build_field_clause'.
I added some basic support for translation from MySQL blob types.
I added some logic to calculate appropriate blob size parameters.
I wrote new 'alter' methods for add/drop of indexes and constraints.
I rearranged the utility function for renaming constraints so that it is a separate operation from quoting.
All identifiers are quoted by default, now.

I can't vouch for completeness or correctness, but it works for quite a few more cases than previously.

13 years agoignore vim swap files
Arthur Axel 'fREW' Schmidt [Mon, 2 May 2011 23:26:24 +0000]
ignore vim swap files

13 years agorename Shim to ProducerUtils for accuracy
Arthur Axel 'fREW' Schmidt [Mon, 2 May 2011 23:25:03 +0000]
rename Shim to ProducerUtils for accuracy

13 years agoDo not depend on implicit hash ordering in YAML load
Peter Rabbitson [Mon, 25 Apr 2011 07:36:51 +0000]
Do not depend on implicit hash ordering in YAML load

13 years agoSimple change to make Postgres simple array types produce correctly
Colin Newell [Mon, 18 Apr 2011 14:11:59 +0000]
Simple change to make Postgres simple array types produce correctly

13 years agofix repo url
Arthur Axel 'fREW' Schmidt [Tue, 19 Apr 2011 16:51:59 +0000]
fix repo url

13 years agoPostGIS functions are case-sensitive
Florian Ragwitz [Tue, 5 Apr 2011 15:26:49 +0000]
PostGIS functions are case-sensitive

Use their proper names, not the lc()ed version.

13 years agoCreate and parse FK constraints in SQLite
Arthur Axel 'fREW' Schmidt [Mon, 28 Feb 2011 15:16:12 +0000]
Create and parse FK constraints in SQLite

13 years agoMake true unique constraints if needed in SQL Server
Arthur Axel 'fREW' Schmidt [Thu, 24 Feb 2011 21:30:55 +0000]
Make true unique constraints if needed in SQL Server

http://improvingsoftware.com/2010/03/26/creating-a-unique-constraint-that-ignores-nulls-in-sql-server/

13 years agoTurn off constraints before dropping tables in SQL Server
Arthur Axel 'fREW' Schmidt [Thu, 24 Feb 2011 21:49:45 +0000]
Turn off constraints before dropping tables in SQL Server

13 years agoQuote everything in SQL Server
Arthur Axel 'fREW' Schmidt [Thu, 24 Feb 2011 01:01:23 +0000]
Quote everything in SQL Server

13 years agoParse new SQL Server stuff
Peter Rabbitson [Fri, 25 Feb 2011 03:16:06 +0000]
Parse new SQL Server stuff

13 years agowhitespace changes
Arthur Axel 'fREW' Schmidt [Fri, 25 Feb 2011 16:13:30 +0000]
whitespace changes

13 years agotear out useless unreserve hash
Arthur Axel 'fREW' Schmidt [Thu, 24 Feb 2011 00:51:49 +0000]
tear out useless unreserve hash

13 years agoadd shim for non-lethal future development
Arthur Axel 'fREW' Schmidt [Thu, 24 Feb 2011 00:07:15 +0000]
add shim for non-lethal future development

13 years agoBetter diagnostics
Peter Rabbitson [Fri, 25 Feb 2011 03:15:32 +0000]
Better diagnostics

13 years agoFix RT#64728
Peter Rabbitson [Sun, 27 Feb 2011 16:11:52 +0000]
Fix RT#64728

13 years agoMake autoinc PKs show up in GraphViz
Peter Rabbitson [Sun, 27 Feb 2011 15:59:58 +0000]
Make autoinc PKs show up in GraphViz

13 years agoMake Pg producer consistent with the rest in terms of quoting
Moritz Onken [Wed, 2 Feb 2011 11:58:39 +0000]
Make Pg producer consistent with the rest in terms of quoting
and allowing functions in constraints and indices

13 years ago.gitignore
Peter Rabbitson [Wed, 2 Feb 2011 10:25:59 +0000]
.gitignore

13 years agoRevert last change becuase it broke a bunch of tests.
Darren Chamberlain [Tue, 11 Jan 2011 21:41:43 +0000]
Revert last change becuase it broke a bunch of tests.

13 years agoMerging patch from ddascalescu+perl@gmail.com, for https://rt.cpan.org/Ticket/Display...
Darren Chamberlain [Tue, 11 Jan 2011 16:56:22 +0000]
Merging patch from ddascalescu+perl@gmail.com, for https://rt.cpan.org/Ticket/Display.html?id=44769.  I've not tested it.

13 years agoRevert my previous changes (rev 1722 reverted back to rev 1721)
Jonathan Yu [Fri, 31 Dec 2010 23:32:55 +0000]
Revert my previous changes (rev 1722 reverted back to rev 1721)

13 years agoRemove copyright headers from individual scripts
Jonathan Yu [Fri, 31 Dec 2010 22:02:11 +0000]
Remove copyright headers from individual scripts
+ This information is now kept in the main SQL::Translator POD
+ Different files had copyright dates out-of-sync with each other due to excessive duplication
Remove AUTHORS file (information moved to SQL::Translator POD)
Fix Makefile.PL to correctly indicate the package is GPL-2 licensed
Update my e-mail address while we're at it

13 years agoCorrect postgis geography type insertion and linebreak fix for multiple geometry...
Peter Rabbitson [Wed, 15 Dec 2010 15:53:41 +0000]
Correct postgis geography type insertion and linebreak fix for multiple geometry/geography columns

13 years agoReleased 0.11007
Jess Robinson [Tue, 30 Nov 2010 22:35:12 +0000]
Released 0.11007

13 years agoFix MySQL producer attaching View definitions to a schema
Peter Rabbitson [Tue, 30 Nov 2010 11:54:20 +0000]
Fix MySQL producer attaching View definitions to a schema
in hash-key order (which sadly *appears* stable after 5.8.2)

13 years agoChanges from abraxxa
Peter Rabbitson [Tue, 30 Nov 2010 11:53:51 +0000]
Changes from abraxxa

13 years agotests for MySQL Producer triggers
Rafael Kitover [Tue, 30 Nov 2010 10:46:58 +0000]
tests for MySQL Producer triggers

13 years agoAdd support for triggers in the MySQL producer (RT#63452) ilmari++
Rafael Kitover [Tue, 30 Nov 2010 10:42:27 +0000]
Add support for triggers in the MySQL producer (RT#63452) ilmari++

13 years agoFix POD typo in SQL/Translator/Schema/Trigger.pm (RT#63451)
Rafael Kitover [Tue, 30 Nov 2010 10:39:15 +0000]
Fix POD typo in SQL/Translator/Schema/Trigger.pm (RT#63451)

13 years agoUse CASCADE when dropping a postgres enum type, to be consistent with table drops
Stephen Bennett [Sat, 20 Nov 2010 22:09:54 +0000]
Use CASCADE when dropping a postgres enum type, to be consistent with table drops

13 years agoFix sqlt options not matching documentation (RT#58318)
Peter Rabbitson [Wed, 17 Nov 2010 11:28:16 +0000]
Fix sqlt options not matching documentation (RT#58318)

13 years agotest + fix for Oracle multi-column constraint generation
Alexander Hartmaier [Sat, 13 Nov 2010 13:56:25 +0000]
test + fix for Oracle multi-column constraint generation

13 years agoSupport a custom_type_name hint for Pg enum creation
Peter Rabbitson [Wed, 10 Nov 2010 22:57:56 +0000]
Support a custom_type_name hint for Pg enum creation

13 years agoFix some legacy code to stop warning on newer perls
Peter Rabbitson [Wed, 10 Nov 2010 22:57:40 +0000]
Fix some legacy code to stop warning on newer perls

13 years agoAdd support for PostGIS Geometry and Geography data types
Peter Rabbitson [Wed, 10 Nov 2010 22:57:13 +0000]
Add support for PostGIS Geometry and Geography data types

13 years agoTurn the roundtrip source generation fail into a warning
Peter Rabbitson [Wed, 10 Nov 2010 22:56:54 +0000]
Turn the roundtrip source generation fail into a warning

13 years agoBump M::I dep to a version not abusing FindBin
Peter Rabbitson [Fri, 13 Aug 2010 10:35:51 +0000]
Bump M::I dep to a version not abusing FindBin

13 years agoEven though it is in the depchain due to YAML - just go ahead and declare it
Peter Rabbitson [Fri, 13 Aug 2010 10:35:38 +0000]
Even though it is in the depchain due to YAML - just go ahead and declare it

13 years agoRelease 0.11006
Peter Rabbitson [Thu, 3 Jun 2010 09:09:16 +0000]
Release 0.11006

13 years agoAwesome non-quoted numeric default patch by Stephen Clouse
Peter Rabbitson [Thu, 3 Jun 2010 09:09:02 +0000]
Awesome non-quoted numeric default patch by Stephen Clouse

13 years agoAdjust view production for stupid mysql
Peter Rabbitson [Thu, 3 Jun 2010 09:08:31 +0000]
Adjust view production for stupid mysql

13 years agoFix index quoting for mysql
Peter Rabbitson [Thu, 3 Jun 2010 09:08:14 +0000]
Fix index quoting for mysql

13 years agoMake 'default_value' behave like a real accessor
Peter Rabbitson [Wed, 2 Jun 2010 08:39:03 +0000]
Make 'default_value' behave like a real accessor

13 years agoChanges reformat
Peter Rabbitson [Wed, 2 Jun 2010 08:23:17 +0000]
Changes reformat

13 years agoupdate Changes
Rafael Kitover [Wed, 2 Jun 2010 02:21:20 +0000]
update Changes

13 years agopatch from abraxxa (Alexander Hartmaier) to truncate unique constraint names that...
Rafael Kitover [Wed, 2 Jun 2010 02:16:48 +0000]
patch from abraxxa (Alexander Hartmaier) to truncate unique constraint names that are too long

13 years agoFix SQLite producer create_view so it doesn't generate statements with semicolons.
Andrew Rodland [Wed, 2 Jun 2010 00:03:00 +0000]
Fix SQLite producer create_view so it doesn't generate statements with semicolons.

13 years agoChanges
Peter Rabbitson [Tue, 1 Jun 2010 23:37:08 +0000]
Changes

13 years agoremove unnecessary bit of code
Rafael Kitover [Tue, 1 Jun 2010 17:44:13 +0000]
remove unnecessary bit of code

13 years agonormalize SQLite and Postgres version numbers
Rafael Kitover [Tue, 1 Jun 2010 16:27:05 +0000]
normalize SQLite and Postgres version numbers

14 years agoGet SQLite to produce saner output
Peter Rabbitson [Sat, 6 Mar 2010 23:44:37 +0000]
Get SQLite to produce saner output

14 years agoMerge 'oracle_datatypes' into 'trunk'
Peter Rabbitson [Fri, 5 Mar 2010 10:23:33 +0000]
Merge 'oracle_datatypes' into 'trunk'

r1685@Thesaurus (orig r1684):  faxm0dem | 2010-02-25 10:13:29 +0100
I'm not to be trusted with the chainsaw

r1686@Thesaurus (orig r1685):  faxm0dem | 2010-02-25 13:38:04 +0100
add to changes
r1687@Thesaurus (orig r1686):  faxm0dem | 2010-02-25 14:18:30 +0100
float doesn't need to be forced to 126 either

14 years agofix a bunch of spelling errors, and add whatis entries (these are applying patches...
Jonathan Yu [Sat, 27 Feb 2010 00:28:31 +0000]
fix a bunch of spelling errors, and add whatis entries (these are applying patches from Debian)

14 years agofloat doesn't need to be forced to 126 either
Fabien Wernli [Thu, 25 Feb 2010 13:18:30 +0000]
float doesn't need to be forced to 126 either

14 years agoadd to changes
Fabien Wernli [Thu, 25 Feb 2010 12:38:04 +0000]
add to changes

14 years agoI'm not to be trusted with the chainsaw
Fabien Wernli [Thu, 25 Feb 2010 09:13:29 +0000]
I'm not to be trusted with the chainsaw

14 years agoForgot to add the test data file for r1676
Andrew Rodland [Wed, 24 Feb 2010 21:30:35 +0000]
Forgot to add the test data file for r1676

14 years agotext back to clob
Fabien Wernli [Wed, 24 Feb 2010 17:17:46 +0000]
text back to clob

14 years agotests
Fabien Wernli [Wed, 24 Feb 2010 15:26:37 +0000]
tests

14 years agofix committed
Fabien Wernli [Wed, 24 Feb 2010 15:14:32 +0000]
fix committed

14 years agodouble and float thou shall now be float
Fabien Wernli [Wed, 24 Feb 2010 14:48:18 +0000]
double and float thou shall now be float

14 years agoSQLite parser: handle named constraints, and don't choke on a comment
Andrew Rodland [Wed, 24 Feb 2010 11:42:47 +0000]
SQLite parser: handle named constraints, and don't choke on a comment
before a table constraint.

14 years agoRelease 0.11005
Peter Rabbitson [Wed, 24 Feb 2010 08:24:28 +0000]
Release 0.11005

14 years agoOracle fix primarily to have it not capitalize but quote instead
Peter Rabbitson [Wed, 24 Feb 2010 08:13:08 +0000]
Oracle fix primarily to have it not capitalize but quote instead

test I'm not committing to trunk instead
initial things don't look at this yet
text -> varchar2(4000) instead of clob, get rid of reserved keywords, import oracle_version from DBD::Oracle
missed some quotes and added tests to avoid that
missed some quotes and added tests to avoid that
Cleanup tabs/whitespace
Changes
Changes2
r1654@Thesaurus (orig r1653):  faxm0dem | 2010-02-10 14:01:28 +0100
r1655@Thesaurus (orig r1654):  faxm0dem | 2010-02-10 14:06:17 +0100
r1656@Thesaurus (orig r1655):  faxm0dem | 2010-02-10 14:07:08 +0100
r1658@Thesaurus (orig r1657):  faxm0dem | 2010-02-10 19:16:08 +0100
r1659@Thesaurus (orig r1658):  faxm0dem | 2010-02-11 12:53:59 +0100
r1660@Thesaurus (orig r1659):  faxm0dem | 2010-02-11 12:54:54 +0100
r1670@Thesaurus (orig r1669):  rabbit | 2010-02-23 12:14:25 +0100
r1672@Thesaurus (orig r1671):  rabbit | 2010-02-24 09:09:21 +0100
r1673@Thesaurus (orig r1672):  rabbit | 2010-02-24 09:12:36 +0100

14 years agoChanges2
Peter Rabbitson [Wed, 24 Feb 2010 08:12:32 +0000]
Changes2

14 years agoChanges
Peter Rabbitson [Wed, 24 Feb 2010 08:09:16 +0000]
Changes

14 years agoCleanup tabs/whitespace
Peter Rabbitson [Tue, 23 Feb 2010 11:14:20 +0000]
Cleanup tabs/whitespace

14 years agochanging SQL::Translator::Diff to use producer_args instead of producer_options
Peter Rabbitson [Tue, 23 Feb 2010 10:41:28 +0000]
changing SQL::Translator::Diff to use producer_args instead of producer_options

Use Carp instead of warn and fix noisy tests
Release 0.11004
Patch by Dan Horne (RT#49413)
Add primary key index type support to mysql grammar
Make PG-parser trace subject to debug (RT#52276)
Extend test a bit (the btree seems to be discarded atm)
Support commit; in loaded Pg DDL
Changes
r1657@Thesaurus (orig r1656):  acmoore | 2010-02-10 17:52:41 +0100
r1661@Thesaurus (orig r1660):  rabbit | 2010-02-14 10:22:53 +0100
r1662@Thesaurus (orig r1661):  rabbit | 2010-02-14 10:45:33 +0100
r1663@Thesaurus (orig r1662):  rabbit | 2010-02-14 10:54:24 +0100
r1664@Thesaurus (orig r1663):  rabbit | 2010-02-14 11:06:41 +0100
r1665@Thesaurus (orig r1664):  rabbit | 2010-02-14 11:13:51 +0100
r1666@Thesaurus (orig r1665):  rabbit | 2010-02-14 11:26:57 +0100
r1667@Thesaurus (orig r1666):  rabbit | 2010-02-14 11:29:13 +0100
r1668@Thesaurus (orig r1667):  rabbit | 2010-02-14 11:38:23 +0100

14 years agomissed some quotes and added tests to avoid that
Fabien Wernli [Thu, 11 Feb 2010 11:54:54 +0000]
missed some quotes and added tests to avoid that

14 years agomissed some quotes and added tests to avoid that
Fabien Wernli [Thu, 11 Feb 2010 11:53:59 +0000]
missed some quotes and added tests to avoid that

14 years agotext -> varchar2(4000) instead of clob, get rid of reserved keywords, import oracle_v...
Fabien Wernli [Wed, 10 Feb 2010 18:16:08 +0000]
text -> varchar2(4000) instead of clob, get rid of reserved keywords, import oracle_version from DBD::Oracle

14 years agoinitial things don't look at this yet
Fabien Wernli [Wed, 10 Feb 2010 13:07:08 +0000]
initial things don't look at this yet

14 years agotest I'm not committing to trunk instead
Fabien Wernli [Wed, 10 Feb 2010 13:06:17 +0000]
test I'm not committing to trunk instead

14 years agoadded myself to the list of authors
Alexander Hartmaier [Thu, 17 Dec 2009 21:20:50 +0000]
added myself to the list of authors

14 years agoFix Oracle producer creating numeric precision statements that the test case expects...
Alexander Hartmaier [Thu, 17 Dec 2009 21:12:29 +0000]
Fix Oracle producer creating numeric precision statements that the test case expects (no whitespace)
Add Oracle producer creating drop view statements like PG producer does

14 years agoWhen adding the edges, it's necessary to quote the table names exactly the
Ken Youens-Clark [Wed, 7 Oct 2009 21:47:17 +0000]
When adding the edges, it's necessary to quote the table names exactly the
same as when adding the nodes or else new nodes can be created.

14 years agoChanges
Peter Rabbitson [Sat, 3 Oct 2009 18:12:40 +0000]
Changes

14 years agoOracle/SQLite test adjustments to deal with new testdata field
Peter Rabbitson [Sat, 3 Oct 2009 18:11:03 +0000]
Oracle/SQLite test adjustments to deal with new testdata field

14 years agoFix RT49301
Peter Rabbitson [Sat, 3 Oct 2009 18:08:31 +0000]
Fix RT49301

14 years agoFix TT templates and tests
Peter Rabbitson [Sat, 3 Oct 2009 18:06:40 +0000]
Fix TT templates and tests

14 years agoAdd numeric/decimal precision support to DB2 producer
Peter Rabbitson [Sat, 3 Oct 2009 18:01:27 +0000]
Add numeric/decimal precision support to DB2 producer

14 years agoAdd a size/precision field to test file, make sure xml parser/producer work fine
Peter Rabbitson [Sat, 3 Oct 2009 17:57:32 +0000]
Add a size/precision field to test file, make sure xml parser/producer work fine

14 years agoRelease 0.11003
Peter Rabbitson [Mon, 28 Sep 2009 06:49:11 +0000]
Release 0.11003

14 years agoDep fixes and changes
Peter Rabbitson [Mon, 28 Sep 2009 06:19:12 +0000]
Dep fixes and changes

14 years agoMake maybe_plan insufficent-version-aware
Peter Rabbitson [Mon, 28 Sep 2009 06:14:55 +0000]
Make maybe_plan insufficent-version-aware

14 years agoEnforce XML::LibXML version requirements
Peter Rabbitson [Thu, 24 Sep 2009 21:36:12 +0000]
Enforce XML::LibXML version requirements

14 years agoFix RT#27438
Peter Rabbitson [Thu, 24 Sep 2009 07:16:11 +0000]
Fix RT#27438

14 years agoproper pg timestamp parsing (by mo)
Peter Rabbitson [Fri, 18 Sep 2009 22:47:52 +0000]
proper pg timestamp parsing (by mo)

14 years agoSomeone claimed this doesn't work
Peter Rabbitson [Fri, 18 Sep 2009 19:26:57 +0000]
Someone claimed this doesn't work

14 years agoCleanup changelog
Peter Rabbitson [Mon, 7 Sep 2009 11:03:31 +0000]
Cleanup changelog

14 years agoChanges
Peter Rabbitson [Thu, 3 Sep 2009 07:08:56 +0000]
Changes

14 years agoFix pg matchtype parsing
Peter Rabbitson [Thu, 3 Sep 2009 07:06:25 +0000]
Fix pg matchtype parsing

14 years agoReal 0.11002 release
Peter Rabbitson [Sun, 30 Aug 2009 09:50:44 +0000]
Real 0.11002 release

14 years agoSanify test
Peter Rabbitson [Sun, 30 Aug 2009 09:40:11 +0000]
Sanify test

14 years agoRelease 0.11002
Peter Rabbitson [Fri, 28 Aug 2009 12:11:02 +0000]
Release 0.11002

14 years agoMakefile fixes + changes
Peter Rabbitson [Fri, 28 Aug 2009 12:09:27 +0000]
Makefile fixes + changes

14 years agoAdded "skip_tables" options.
Ken Youens-Clark [Wed, 26 Aug 2009 16:30:37 +0000]
Added "skip_tables" options.