Martin A. Marques writes:
> CREATE TABLE ubicacion (
> id SERIAL,
> id_palabra INT,
> tabla INT NOT NULL,
> id_row INT NOT NULL,
> CONSTRAINT "fk_ubic_id_palabra" FOREIGN KEY id_palabra
> REFERENCES palabras ("pid"),
... FOREIGN KEY (id_palabra) REFERENCES ...
> CONSTRAINT "fk_tabla_s" FOREIGN KEY tabla REFERENCES tablas
> ("id_tabla")
> );
> ERROR: parser: parse error at or near "id_palabra"
--
Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/