public inbox for [email protected]
help / color / mirror / Atom feedFrom: Sam Stearns <[email protected]>
To: Guillaume Lelarge <[email protected]>
Cc: Pgsql-admin <[email protected]>
Subject: Re: create foreign table
Date: Mon, 14 Oct 2024 11:57:04 -0700
Message-ID: <CAN6TVj=v_JfmoND6mkq2D2G+VDfMspkz_jrrhb26wjDhsrNXoQ@mail.gmail.com> (raw)
In-Reply-To: <CAECtzeX1cYxwfi0toeEMhPxjRqVS_2+5_ks8CmJyciaA_bweKg@mail.gmail.com>
References: <CAN6TVjmHzo-ruRJF_5SmySV-ejygkTqf08saqixaF3xuhex=wg@mail.gmail.com>
<CAECtzeX1cYxwfi0toeEMhPxjRqVS_2+5_ks8CmJyciaA_bweKg@mail.gmail.com>
That did the trick. Thank you!
Sam
On Mon, Oct 14, 2024 at 11:18 AM Guillaume Lelarge <[email protected]>
wrote:
> Hi,
>
> Le lun. 14 oct. 2024 à 20:14, Sam Stearns <[email protected]> a écrit :
>
>> Howdy,
>>
>> Receiving an error without much detail when creating a foreign table:
>>
>> 2024-10-14 11:08:30.928 PDT [1177724] ERROR: conflicting or redundant
>> options
>> 2024-10-14 11:08:30.928 PDT [1177724] STATEMENT: CREATE FOREIGN TABLE
>> ext_invalids (
>> validcargo char(8),
>> validauto char(8),
>> cllocid char(8),
>> insdid char(6),
>> memberid char(14),
>> attachdate char(12),
>> commonauthority char(1),
>> contractauthority char(1),
>> compname char(60),
>> docket_num char(9)
>> ) SERVER external_dat_dir OPTIONS(filename 'DISABLED', format
>> 'csv', delimiter ',', program '');
>>
>> I'm not seeing much out there on the error. I'm also not seeing what are
>> valid values for the OPTIONS keyword in the Postgres documentation.
>>
>> Would someone be able to give advice here, please?
>>
>>
> Saying which FDW you're using would help, but I guess it's file_fdw.
>
> You can't specify both filename and program. You have to choose one of
> them.
>
> Regards.
>
>>
>
> --
> Guillaume.
>
--
*Samuel Stearns*
Lead Database Administrator
*c:* 971 762 6879 | *o:* 503 672 5115 | DAT.com
[image: DAT]
<https://www.dat.com/?utm_medium=email&utm_source=DAT_email_signature_link;
view thread (7+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: create foreign table
In-Reply-To: <CAN6TVj=v_JfmoND6mkq2D2G+VDfMspkz_jrrhb26wjDhsrNXoQ@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox