use fopen unknown resource

From: ourdiaspora <ourdiaspora(at)protonmail(dot)com>
To: "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: use fopen unknown resource
Date: 2021-08-27 21:59:29
Message-ID: IrQH-v4UQGJ7mcslUIQnwwlMMpX8GGztHmZDKsBJbwFxhJyo_AYOTbzUug8pVzzvXjq7xfBB7MfPmvy1OcAB1Z5LjMoynM-PFYNP58c_IaI=@protonmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Readers,

Objective, to import a csv file into postgresql database. If understood correctly, the manual section 'fopen' (https://www.php.net/manual/en/function.fopen.php) shows that the file has a "known resource" extant name.

Please what is the syntax to assign an unknown file name to the 'fopen' function?

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2021-08-27 22:10:19 Re: use fopen unknown resource
Previous Message Stephen Frost 2021-08-27 21:58:36 Re: Can we get rid of repeated queries from pg_dump?