pgsql-server/src/backend/commands copy.c

Поиск
Список
Период
Сортировка
Искать
От
momjian@svr1.postgresql.org (Bruce Momjian)
Тема
pgsql-server/src/backend/commands copy.c
Дата
Msg-id
20040406132133.E6DA0D1EA67@svr1.postgresql.org
Список
CVSROOT:	/cvsroot
Module name:	pgsql-server
Changes by:	momjian@svr1.postgresql.org	04/04/06 10:21:33

Modified files:
	src/backend/commands: copy.c 

Log message:
	The attached applied patch throws an error if the delimiter appears in
	the COPY NULL string:
	
	test=> copy pg_language to '/tmp/x' with delimiter '|';
	COPY
	test=> copy pg_language to '/tmp/x' with delimiter '|' null '|x';
	ERROR:  COPY delimiter must not appear in the NULL specification
	test=> copy pg_language from '/tmp/x' with delimiter '|' null '|x';
	ERROR:  COPY delimiter must not appear in the NULL specification
	
	It also throws an error if it conflicts with the default NULL string:
	
	test=> copy pg_language to '/tmp/x' with delimiter '\\';
	ERROR:  COPY delimiter must not appear in the NULL specification
	test=> copy pg_language to '/tmp/x' with delimiter '\\' NULL 'x';
	COPY

В списке pgsql-committers по дате отправления
От: momjian@svr1.postgresql.org (Bruce Momjian)
Дата:
От: momjian@svr1.postgresql.org (Bruce Momjian)
Дата:
FAQ