CREATE FOREIGN TABLE ulb_ulbmsuo_oai_dc ( id text OPTIONS (oai_node 'identifier'), xmldoc xml OPTIONS (oai_node 'content'), sets text[] OPTIONS (oai_node 'setspec'), updatedate timestamp OPTIONS (oai_node 'datestamp'), format text OPTIONS (oai_node 'metadataprefix'), status boolean OPTIONS (oai_node 'status') ) SERVER oai_server_ulb OPTIONS (setspec 'ulbmsuo', metadataPrefix 'oai_dc'); SELECT * FROM ulb_ulbmsuo_oai_dc FETCH FIRST ROW ONLY; id | xmldoc | sets | updatedate | format | status -----------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------+--------------------------+--------+-------- oai:digital.ulb.uni-muenster.de:1188818 | +| {ulbmsuo,book,nuenning,benelux} | Wed Aug 08 07:50:15 2012 | oai_dc | f | De Vryheyt Vertoont in den Staat der Vereenigde Nederlanden : Zijnde een Vertoogh van des zelfs maniere van Regeeringe, veelvondige Middelen en Oorlogs-Lasten, Met de Autentyke Stukken, zo van de Munstersche als andere Vredens Tractaten, Unie en Verbonden voorsien+| | | | | [U. E.] +| | | | | Vorlageform des Erscheinungsvermerks: By Engelbregt Boucquet, Boekverkooper ... +| | | | | Boucquet +| | | | | Univ.- und Landesbibliothek +| | | | | 1697 +| | | | | Text +| | | | | Book +| | | | | [4] Bl., 400 S. ; 12-o +| | | | | eki:HBZHT007586425 +| | | | | hbz-idn:CT005003895 +| | | | | urn:nbn:de:hbz:6-85659548630 +| | | | | https://nbn-resolving.org/urn:nbn:de:hbz:6-85659548630 +| | | | | system:HT007586425 +| | | | | vignette : http://sammlungen.ulb.uni-muenster.de/titlepage/urn/urn:nbn:de:hbz:6-85659548630/128 +| | | | | Den Haag +| | | | | reserved +| | | | | | | | | (1 row) CREATE FOREIGN TABLE foreign_table_without_oai_option ( foo text ) SERVER oai_server_ulb OPTIONS (setspec 'ulbmsuo', metadataPrefix 'oai_dc'); SELECT * FROM foreign_table_without_oai_option; foo ----- (0 rows) -- FOREIGN TABLE without 'oai_node' OPTION but with the -- mandatory SERVER OPTION nodes. CREATE FOREIGN TABLE foreign_table_without_oai_option2 ( foo text ) SERVER oai_server_ulb OPTIONS (metadataPrefix 'oai_dc'); SELECT * FROM foreign_table_without_oai_option2; foo ----- (0 rows)