Commit Graph
24 Commits
Author SHA1 Message Date
Matthew Bucci ebbe2915c6 add rewrite logic for SHOW TABLE STATUS and a catch for calls to information_schema 2024-02-21 01:15:51 -08:00
Matthew Bucci 23da9c0dd2 Merge pull request #76 from PostgreSQL-For-Wordpress/mb-fix-auto-increment
Improve table creation
2024-01-16 22:01:32 -08:00
Matthew Bucci d45c7d58d9 Merge pull request #91 from PostgreSQL-For-Wordpress/fix-show-variables
correctly emulate Show Variables command in postgres
2024-01-16 21:41:30 -08:00
Matthew Bucci 487657a642 correctly emulate Show Variables command in postgres by using the pg_settings table 2024-01-16 21:38:24 -08:00
Matthew Bucci 66d8a3df0e update sequence handling to support bigserial and serial types 2024-01-16 21:35:32 -08:00
Matthew Bucci ade3d6ad87 handle case with keys across multiple columns with defined lengths 2024-01-11 01:28:43 -08:00
Matthew Bucci 8f1f65db47 handle tables with fixed key lengths 2024-01-11 01:10:57 -08:00
mattbucci a90ab01a9b handle table charsets 2024-01-08 05:08:57 +00:00
mattbucci 53125aec2d Add support for keys with multiple values 2024-01-08 05:00:42 +00:00
mattbucci 5f27c893b3 Remove Default character set 2024-01-08 04:22:59 +00:00
mattbucci aca566b8bf pgrewrite should not remove IF NOT EXISTS 2024-01-08 04:13:06 +00:00
mattbucci 200dfaa0b2 Add space before replacements to avoid any issues with similar types 2024-01-08 04:08:35 +00:00
mattbucci 30f5bee84b Merge remote-tracking branch 'origin/v3' into mb-fix-auto-increment 2024-01-08 01:14:46 +00:00
mattbucci 94259e408b style fixes 2024-01-07 23:07:50 +00:00
Matthew Bucci f3a71be3f0 handle unique keys 2023-11-26 15:17:26 -08:00
Matthew Bucci fd2467c00b switch to serial numeric types 2023-11-26 15:07:33 -08:00
Matthew Bucci cbd3d83918 postgres does support primary keys in the mysql format, we don't need to rewrite 2023-11-26 01:42:21 -08:00
Matthew Bucci 91f1612d10 add tests for table creation 2023-11-26 01:34:10 -08:00
Matthew Bucci a810cfb7da cleanup AlterTableSQLRewriter 2023-11-07 15:50:52 -08:00
Matthew Bucci dad1f0d264 formatting 2023-11-07 15:29:37 -08:00
Matthew Bucci c60d8f90b1 Migrate install rewriting to new rewriters 2023-11-07 15:26:03 -08:00
Matthew Bucci 63f3f092ba ensure we don't pass null to trim during ensureGroupByOrAggregate 2023-10-30 15:20:15 -07:00
Matthew Bucci ec9079d9c9 don't split on ',' if within a function 2023-10-30 14:24:27 -07:00
Matthew Bucci 83002198b1 Polymorphic refactor + improvements to select sql rewriting 2023-10-28 02:56:41 -07:00