pgsql/src/backend/access/transam xlog.c

Поиск
Список
Период
Сортировка
Искать

pgsql/src/backend/access/transam xlog.c

От:
Tom Lane <tgl@hub.org>
Дата:
CVSROOT:	/home/projects/pgsql/cvsroot
Module name:	pgsql
Changes by:	tgl@hub.org	01/03/14 15:23:04

Modified files:
	src/backend/access/transam: xlog.c 

Log message:
	Use SEP_CHAR consistently in forming XLOG pathnames.

Re: pgsql/src/backend/access/transam xlog.c

От:
Peter Eisentraut <peter_e@gmx.net>
Дата:
Tom Lane writes:

> Log message:
> 	Use SEP_CHAR consistently in forming XLOG pathnames.

Do we need the SEP_CHAR at all?  No platform uses something different.
Even Windows works with '/'.

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/

Re: pgsql/src/backend/access/transam xlog.c

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Peter Eisentraut  writes:
> Tom Lane writes:
>> Use SEP_CHAR consistently in forming XLOG pathnames.

> Do we need the SEP_CHAR at all?  No platform uses something different.
> Even Windows works with '/'.

Somebody evidently once thought that we needed '\' on NT.  I'm not sure
if it's really necessary or not.

In any case, this is no time to be removing all the uses of SEP_CHAR.
Put it on your todo list for 7.2 if you like ...

			regards, tom lane
FAQ