Create table with bit field via Postgres produces wrong exception

Bug #889242 reported by Tim Blackman
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Akiban SQL Parser

Bug Description

Using the Postgres server to create a table with a field of type 'bit'
produces a parse exception rather than an unsupported data type
exception (error code 42000 vs. 50008).


  CREATE TABLE t (bit_field bit)


  com.akiban.server.error.ParseException: PARSE_EXCEPTION: [] com.akiban.sql.parser.ParseException: Encountered " "bit" "bit "" at line 1, column 27.
  Was expecting one of:
      ")" ...
      "," ...
      : CREATE TABLE t (bit_field bit)

To reproduce:

  mvn test -Dtest=PostgresServerMiscYamlIT

Reproduced in trunk revision 1239

Mike McMahon (mmcm)
affects: akiban-server → akiban-sql-parser
Changed in akiban-sql-parser:
status: New → Confirmed
Changed in akiban-sql-parser:
milestone: none → future
importance: Undecided → Medium
tags: added: indiedb types
information type: Private → Public
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers