Re: question on error during COPY FROM

From: Francisco Olarte <folarte(at)peoplecall(dot)com>
To: Rakesh Kumar <rakeshkumar464a3(at)gmail(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: question on error during COPY FROM
Date: 2016-08-23 14:14:44
Message-ID: CA+bJJbw9dU8VqH9C5GruUmtRg-7z-_m7EoikzirgB-VB9ea6nA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Aug 23, 2016 at 4:06 PM, Rakesh Kumar
<rakeshkumar464a3(at)gmail(dot)com> wrote:
> Is it true that one datafile in PG can only belong to one object (table/index)

If this is a question, yes, AFAIK ( in fact they are split in 1G
chunks to prevent problems with quirky filesystems ). Search for "Each
table and index is stored in a separate file" in
https://www.postgresql.org/docs/9.5/static/storage-file-layout.html

A full periodic read, even if superficial, of the postgres manual, is
quite beneficial. I feel poetic today ;-> . Seriously, is quite well
written and full of interesting information, even if skipping large
chunks knowing where the info is can sava you a lot of work and mails.
AAMOF, it's one of the main reasons I've been using postgres all this
years.

Francisco Olarte.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Rob Sargent 2016-08-23 14:28:01 Re: Sequential vs. random values - number of pages in B-tree
Previous Message Adrian Klaver 2016-08-23 14:13:48 Re: question on error during COPY FROM