Commit Graph

227 Commits

Author SHA1 Message Date
Matthew Bucci
66cd2fb034 Merge branch 'v3' into site-health 2024-02-26 12:30:31 -08:00
Matthew Bucci
a5480c70cb quote any variable usages in SQL 2024-02-26 12:27:23 -08:00
Matthew Bucci
cdd38f6dfe Merge pull request #102 from PostgreSQL-For-Wordpress/wordpress-search
Fix Wordpress Search
2024-02-26 12:25:19 -08:00
Matthew Bucci
9373b914c2 Merge pull request #103 from PostgreSQL-For-Wordpress/replace-support
add support for REPLACE INTO rewriting
2024-02-26 12:24:54 -08:00
Matthew Bucci
15bdebed5e Merge pull request #104 from PostgreSQL-For-Wordpress/robust-numeric
make numeric rewriters generic
2024-02-26 12:21:25 -08:00
Matthew Bucci
b44dd00ec2 make numeric rewriters generic 2024-02-22 19:33:03 -08:00
Matthew Bucci
b33aa78976 add support for REPLACE INTO rewriting 2024-02-22 19:11:41 -08:00
Matthew Bucci
315823a203 adjust Select rewriter to handle order by case statements 2024-02-22 00:52:19 -08:00
Matthew Bucci
61cfa6896d extract public to schema variable so we can use a constant later 2024-02-21 01:22:57 -08:00
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
v3.2
2024-01-16 22:01:32 -08:00
Matthew Bucci
98bcd4aad0 improve performance of sequence lookup 2024-01-16 21:49:06 -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
7471e353e9 Merge 2024-01-08 01:15:25 +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
021aa6d106 Merge pull request #88 from LougaoCloud/v3
bugfix: $dbname is not used in driver_pgsql.php
v3.1
2023-12-31 00:34:27 -08:00
laotoutou
1b08e302c0 bugfix: $dbname is not used in driver_pgsql.php 2023-12-31 13:32:41 +08:00
Matthew Bucci
c3c11a0640 correct mispellled word in readme 2023-12-17 01:25:29 -08:00
Matthew Bucci
d7bf645504 handle regular key expressions 2023-11-26 15:24:45 -08: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
a389cc7adc Update readme.md
Remove note about plugin architecture
2023-11-11 13:03:43 -08:00
Matthew Bucci
bf2ef7f418 Merge pull request #55 from PostgreSQL-For-Wordpress/switch-to-mysqli
WIP: Switch to mysqli
v3.0
2023-11-10 11:25:48 -08:00
Matthew Bucci
3d164e15a6 remove the field function because it's already accounted for in the rewriter 2023-11-10 11:24:49 -08:00
Matthew Bucci
402d9cbb73 Update compatibility table 2023-11-10 11:23:15 -08:00
Matthew Bucci
2485f31cdc Change connections to pass by reference to better emulate the mysqli driver 2023-11-10 11:11:04 -08:00
Matthew Bucci
54b4ffb4df add connect error handling 2023-11-09 23:01:26 -08:00
Matthew Bucci
31ce063e06 ignore multi query as part of flush 2023-11-09 22:51:55 -08:00
Matthew Bucci
1f3692d4f9 implement pg_ping 2023-11-09 21:28:21 -08:00
Matthew Bucci
259a58b144 remove nonexistant PG_query mode 2023-11-09 21:24:38 -08:00
Matthew Bucci
20f0d7b9e9 driver fixes 2023-11-09 20:19:02 -08:00
Matthew Bucci
eb3a4c1711 port over what exists from the old pgsql driver 2023-11-09 19:53:49 -08:00
Matthew Bucci
0761849977 add links 2023-11-09 18:05:52 -08:00
Matthew Bucci
5b73c978e7 give example use cases 2023-11-09 18:02:06 -08:00
Matthew Bucci
b66d747b21 add a graphic explaining the design of pg4wp 2023-11-09 17:57:30 -08:00
Matthew Bucci
50db9c8fd8 rewrite mysql driver implementation to replace mysqli instead of mysql 2023-11-09 09:34:33 -08:00
Matthew Bucci
e3f3682bc0 update wordpress dependency files for WP 6.4.1 2023-11-08 22:48:27 -08:00
Matthew Bucci
a810cfb7da cleanup AlterTableSQLRewriter 2023-11-07 15:50:52 -08:00