Sean Oliver
bc8597336d
Replace regex parser with @supabase/pg-parser for robust SQL parsing
- Use @supabase/pg-parser for proper AST-based SQL parsing
- Fix ReDoS vulnerability by using existing removeCommentsFromSql
- Add comprehensive tests for PostgreSQL edge cases:
- Quoted identifiers with spaces, hyphens, numbers
- CREATE TEMP/TEMPORARY/UNLOGGED TABLE variants
- CREATE TABLE AS SELECT
- INSERT ... SELECT with undefined row count
- ALTER TABLE ENABLE ROW LEVEL SECURITY
- Handle async parsing with proper error handling
- Support schema-qualified table names with dots
- 55/56 tests passing (nested comments limitation is acceptable)
2025-09-25 19:30:22 -04:00
..
2025-09-23 12:00:08 -06:00
2025-09-23 16:41:36 -06:00
2025-09-17 15:55:38 +10:00
2025-07-28 11:20:09 +10:00
2025-07-03 12:41:11 +02:00
2025-05-08 12:23:37 +02:00
2023-11-15 12:38:55 +01:00
2025-09-02 10:23:22 +09:00
2025-09-02 10:23:22 +09:00
2025-05-15 18:24:57 +08:00
2025-01-27 13:04:31 +01:00
2025-05-08 12:23:37 +02:00
2025-05-08 12:23:37 +02:00
2025-04-08 11:32:29 +08:00
2025-07-28 13:43:26 +00:00
2025-07-10 09:11:34 +10:00
2025-09-18 18:54:28 +08:00
2025-06-27 11:10:25 +02:00
2025-06-27 11:10:25 +02:00
2025-05-15 18:24:57 +08:00
2025-07-21 16:59:17 +08:00
2025-08-14 21:23:08 +02:00
2025-08-14 21:23:08 +02:00
2025-05-09 15:26:08 +08:00
2024-07-17 13:27:00 +08:00
2025-05-09 15:26:08 +08:00
2025-02-13 13:34:12 +08:00
2025-05-09 15:26:08 +08:00
2023-11-15 12:38:55 +01:00
2025-07-21 16:59:17 +08:00
2025-07-21 16:59:17 +08:00
2025-05-10 09:08:20 -02:30
2025-05-26 15:43:14 +02:00
2025-08-25 07:30:57 -07:00
2024-11-22 16:42:12 +08:00
2025-05-15 18:24:57 +08:00
2025-05-15 18:24:57 +08:00
2025-05-10 09:08:20 -02:30
2025-01-15 13:08:26 +08:00
2025-09-25 19:30:22 -04:00
2025-09-25 19:30:22 -04:00
2025-08-06 09:15:51 -07:00
2025-05-10 09:08:20 -02:30
2023-11-15 12:38:55 +01:00
2025-05-10 09:08:20 -02:30
2024-03-05 12:49:58 +08:00
2023-11-15 12:38:55 +01:00