Reading from file without superuser privilege

Lists: pgsql-in-general
From: Jose Antonio Quintana/UPC <jose(dot)antonio(dot)quintana(at)upc(dot)edu>
To: pgsql-in-general(at)postgresql(dot)org
Subject: Reading from file without superuser privilege
Date: 2013-03-21 12:07:09
Message-ID: OF88498428.E2E725E6-ONC1257B35.004266A4-C1257B35.0042931B@upc.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-in-general

I need to read from a file in order to update a table.

The manual says that it is necessary to have the superuser privilege to
read from a file.

Is it possible to read files without this privilege?

Thanks.

_______________________________________________
José Antonio Quintana Romero
Unitat de Projectes
Vicegerència de Desenvolupament Organitzatiu i Personal
Edifici Vèrtex. Planta 3
Pl. Eusebi Güell, 6
08034 - Barcelona