Skip site navigation (1) Skip section navigation (2)

Re: [PERFORM] COPY FROM performance improvements

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Alon Goldshuv" <agoldshuv(at)greenplum(dot)com>
Cc: pgsql-patches(at)postgresql(dot)org,"Luke Lonergan" <llonergan(at)greenplum(dot)com>
Subject: Re: [PERFORM] COPY FROM performance improvements
Date: 2005-08-01 23:51:10
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-patchespgsql-performance
"Alon Goldshuv" <agoldshuv(at)greenplum(dot)com> writes:
>> This patch appears to reverse out the most recent committed changes in
>> copy.c.

> Which changes do you refer to? I thought I accommodated all the recent
> changes (I recall some changes to the tupletable/tupleslot interface, HEADER
> in cvs, and hex escapes and maybe one or 2 more). What did I miss?

The latest touch of copy.c, namely this patch:

2005-07-10 17:13  tgl

	* doc/src/sgml/ref/create_type.sgml, src/backend/commands/copy.c,
	src/backend/commands/typecmds.c, src/backend/tcop/fastpath.c,
	src/backend/tcop/postgres.c, src/backend/utils/adt/arrayfuncs.c,
	src/backend/utils/adt/date.c, src/backend/utils/adt/numeric.c,
	src/backend/utils/adt/timestamp.c, src/backend/utils/adt/varbit.c,
	src/backend/utils/adt/varchar.c, src/backend/utils/adt/varlena.c,
	src/backend/utils/mb/mbutils.c, src/include/catalog/catversion.h,
	src/test/regress/sql/type_sanity.sql: Change typreceive function
	API so that receive functions get the same optional arguments as
	text input functions, ie, typioparam OID and atttypmod.  Make all
	the datatypes that use typmod enforce it the same way in typreceive
	as they do in typinput.  This fixes a problem with failure to
	enforce length restrictions during COPY FROM BINARY.

It was rather obvious, given that the first chunk of the patch backed up
the file's CVS version stamp from 1.247 to 1.246 :-(

			regards, tom lane

In response to


pgsql-performance by date

Next:From: Meetesh KariaDate: 2005-08-01 23:56:13
Subject: Re: Planner incorrectly choosing seq scan over index scan
Previous:From: Meetesh KariaDate: 2005-08-01 23:30:26
Subject: Re: Planner incorrectly choosing seq scan over index scan

pgsql-patches by date

Next:From: Tom LaneDate: 2005-08-02 01:36:15
Subject: Re: AIX - pgport/contrib resolution
Previous:From: Marko KreenDate: 2005-08-01 21:15:07
Subject: [patch 7/7] remove the API file

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group