brianbroderick / lantern

Shine a light on your PG query logs. The project is being reimagined and is now a WIP.
Apache License 2.0
2 stars 0 forks source link

Parser: add where clause when parsing an index #49

Closed brianbroderick closed 2 months ago

brianbroderick commented 2 months ago

CREATE INDEX idx_temp_stuff ON my_temp USING btree( id, temp_id ) WHERE ( blah_id = 1 );

It's not currently parsing the where portion of the statement. Instead, it's throwing that into a 2nd statement with a WHERE prefix expression.

brianbroderick commented 2 months ago

2f1aebf09c9f2f64651b3d998faeaf4167e4186f