Skip to content

[FORMATTING] a few cases of unexpected identifierCase "lower" behavior #809

Closed
@gajus

Description

@gajus

These are the unexpected diffs from PostgreSQL codebase after using the experiment { identifierCase: 'lower' }:

- user_job_posting AS MATERIALIZED (
+ user_job_posting AS materialized (
- ON CONFLICT DO NOTHING
+ ON CONFLICT DO nothing
- ON CONFLICT (foreign_cloudinary_asset_id) DO NOTHING
+ ON CONFLICT (foreign_cloudinary_asset_id) DO nothing
- WITH ORDINALITY nids
+ WITH ordinality nids
- ORDER BY job_posting_approved_at DESC NULLS LAST,
+ ORDER BY job_posting_approved_at DESC nulls last,
- DROP MATERIALIZED VIEW IF EXISTS discover_independents_user_account_v3 CASCADE;
+ DROP MATERIALIZED VIEW if EXISTS discover_independents_user_account_v3 CASCADE;
- RESET ROLE;
+ RESET role;
- CREATE DATABASE "foo" TEMPLATE contra_template
+ CREATE DATABASE "foo" template contra_template

Otherwise, it works great.

Thanks for the awesome lib!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions