Skip to content

[Bug] Syntax at or near "UUID" #250

@cyraid

Description

@cyraid

Background

UUID is supported in my Postgres version, and when an .sql file created using the UUID it does exist and is successful.

Overview

In an SQL file, say test.sql, setting the language mode to Postgres, using the following:

CREATE TABLE IF NOT EXISTS "test" (
  "id" UUID
);

Gives:

syntax at or near "UUID"

Screenshot

image

Suggestions

Perhaps even when implementing the recognition of UUID, an 'ignore' type could be an option? Is the extension using EXPLAIN behind the scenes?

Environment

Name Version
Postgres Version 16.2 [64bit linux]
PostgreSQL Extension Version v1.4.3
Host Environment Windows 11
*VSCode 1.90.1
VSCode Environment WSL Ubuntu 22.04 [64bit]
WSL 2.1.5.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions