Skip to content
This repository was archived by the owner on Sep 17, 2024. It is now read-only.
This repository was archived by the owner on Sep 17, 2024. It is now read-only.

Use standard SQL syntax where possible #62

Description

@bdarnell

CockroachDB supports some SQL extensions that are not present in PostgreSQL. Where possible, example apps should be written to use standard SQL, or at least the common subset of CockroachDB and PostgreSQL. For example, this create table statement is incompatible with PostgreSQL because it names the index and includes the INDEX token. Changing it to UNIQUE (userID, timestamp) would allow this example to run on both databases.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions