Alternative for EXTERNAL TABLES in PostgreSQL -


i'm having question in external table concept in postgresql. i'm using enterprise version (edb).

create or replace directory bdump '/u01/app/oracle/admin/sid/bdump/';  drop table alert_log;  create table alert_log (   line  varchar2(4000) ) organization external (   type oracle_loader   default directory bdump   access parameters   (     records delimited newline     badfile bdump:'read_alert_%a_%p.bad'     logfile bdump:'read_alert_%a_%p.log'     fields terminated '~'     missing field values null     (       line  char(4000)     )   )   location ('alert_sid.log') )  / 

i'm converting above code in postgresql. created extension file_fdw(foreign tables) , used options field extent. , want know whether if can specify badfile & discardfile in postgres. alternative all_external_tables in postgresql? highly appreciated.


Comments

Popular posts from this blog

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -

minify - Minimizing css files -