Re: Importing Large Amounts of Data - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Importing Large Amounts of Data
Date
Msg-id 22743.1018880106@sss.pgh.pa.us
Whole thread Raw
In response to Re: Importing Large Amounts of Data  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
List pgsql-hackers
"Christopher Kings-Lynne" <chriskl@familyhealth.com.au> writes:
>> Yes, I know. I mean how does this affect performance? How this can change
>> planner decision? Does it have any effect except cosmetical one?

> Only cosmetic.  In the example he gave, he wanted a primary key, so I showed
> him how to make one properly.

The ALTER form will complain if any of the columns are not marked NOT
NULL, so the difference isn't completely cosmetic.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Rod Taylor"
Date:
Subject: Stumbled upon a time bug...
Next
From: "Mario Weilguni"
Date:
Subject: Re: Inefficient handling of LO-restore + Patch