]> granicus.if.org Git - postgresql/commit
From: Magnus Hagander <mha@sollentuna.net>
authorMarc G. Fournier <scrappy@hub.org>
Mon, 11 Jan 1999 03:56:11 +0000 (03:56 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Mon, 11 Jan 1999 03:56:11 +0000 (03:56 +0000)
commit3b3ffc8d97d97067eefea66b8df95fc963d8b0be
tree54bcaa68bb72373f099d3d222f5b1b8fd0e9626b
parent6d5d673ca87903e73cc88bfcf9b7ca3266f6aa99
From: Magnus Hagander <mha@sollentuna.net>

Here is a first patch to cleanup the backend side of libpq.
This patch removes all external dependencies on the "Pfin" and "Pfout" that
are declared in pqcomm.h. These variables are also changed to "static" to
make sure.
Almost all the change is in the handler of the "copy" command - most other
areas of the backend already used the correct functions.
This change will make the way for cleanup of the internal stuff there - now
that all the functions accessing the file descriptors are confined to a
single directory.
src/backend/commands/copy.c
src/backend/libpq/pqcomm.c
src/backend/utils/error/elog.c
src/include/libpq/libpq-be.h
src/include/libpq/libpq.h