Skip Menu |

This queue is for tickets about the SQL-Translator CPAN distribution.

Report information
The Basics
Id: 49627
Status: new
Priority: 0/
Queue: SQL-Translator

Owner: Nobody in particular
Requestors: vince [...]

Bug Information
Severity: Normal
Broken in: 0.11002
Fixed in: (no value)

Subject: PATCH: Postgres support for table inheritance
Download (untitled) / with headers
text/plain 741b
The PostgreSQL parser/producer has no native support for the SQL "INHERITS" clause on table creation. The attached zip file contains a patch, and copies of new/changed files, to add INHERITS support for create table statements, with tests. It turns out the parser grammar already understood INHERITS, but the information was not being copied from the parse tree into the model. I have added it to the "extra" field of the model, which was already being used for the "temporary" table attribute. Likewise, the producer was modified just enough to add the clause to create table statements. Note that this patch only implements partial support for inheritance, because it makes no provision for adding/removing inheritance via ALTER TABLE.
application/zip 20.4k

Message body not shown because it is not plain text.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to