Composite Types nicht in "7.4.6" möglich?

Hallo,


ich möchte in einer Postgres DB “7.4.6” eine Tabelle anlegen
und zwar so …

CREATE TABLE XXL (
ShortNames VARCHAR(80) REFERENCES DayOnGoing(ShortNames),
.
.
.
StartLesson MyTimeFormat,
EndLEsson MyTimeFormat
)

Wobei MyTimeFormat…


CREATE TYPE MyTimeFormat AS (
TagImMonat ZeitangabeTagImMonat,
TMSeperator ZeitangabeSeparator,
MonatImJahr ZeitangabeMonatImJahr,
MJSeperator ZeitangabeSeparator
)
;


und ZeitangabeTagImMonat sind Domain Kreationen.


Mein Problem
ERROR: column “StartLesson” has composite type MyTimeFormat


Meine Frage
Geht das in “7.4.6” nicht?


Gruss
Frank

Hallo Frank,

wenn man in den internationalen Foren nachliest, gab es in der Vergangenheit damit Probleme.

Was ich Dir bestätigen kann, ist, dass es unter der Version 8.1.4 einwandfrei funktioniert.



mfg

fristo

Ich hab genau das gleiche Problem, gleiche Datenbank, gleiche Version… seufz

Nichtmal die Beispieleingaben aus dem Handbuch nimmt das Ding.

Gruß

Christian

Hi,

falls Du an der Tu-BS bist (DB-Prakt…)und noch Interesse hast kannst du mir auch eine Mail schicken!

Mein Name ist Frank (erster Buchsdtabe)
Punkt
Nachname ist Sohn (komplett)

und at (…t-online)


Gruß