diff options
| author | Bruce Momjian <bruce@momjian.us> | 2003-02-03 14:24:07 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 2003-02-03 14:24:07 +0000 |
| commit | 0d3e36b6687ae601551fb8047c10a68f2d6fb565 (patch) | |
| tree | 55138e7af13f1367bccee5dd7becbbfa314c0f05 /src/interfaces/libpq | |
| parent | 802a4d411103f91e9b5a8507a379b89953ea1354 (diff) | |
Move pg_service.conf.sample to /interfaces/libpq.
Diffstat (limited to 'src/interfaces/libpq')
| -rw-r--r-- | src/interfaces/libpq/Makefile | 3 | ||||
| -rw-r--r-- | src/interfaces/libpq/pg_service.conf.sample | 16 |
2 files changed, 18 insertions, 1 deletions
diff --git a/src/interfaces/libpq/Makefile b/src/interfaces/libpq/Makefile index ecc4c457c0e..c431ca44b7f 100644 --- a/src/interfaces/libpq/Makefile +++ b/src/interfaces/libpq/Makefile @@ -4,7 +4,7 @@ # # Copyright (c) 1994, Regents of the University of California # -# $Header: /cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.72 2003/01/10 10:59:08 petere Exp $ +# $Header: /cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.73 2003/02/03 14:24:07 momjian Exp $ # #------------------------------------------------------------------------- @@ -65,6 +65,7 @@ install: all installdirs install-lib $(INSTALL_DATA) $(srcdir)/libpq-fe.h $(DESTDIR)$(includedir) $(INSTALL_DATA) $(srcdir)/libpq-int.h $(DESTDIR)$(includedir_internal) $(INSTALL_DATA) $(srcdir)/pqexpbuffer.h $(DESTDIR)$(includedir_internal) + $(INSTALL_DATA) $(srcdir)/pg_service.conf.sample $(DESTDIR)$(datadir)/pg_service.conf.sample installdirs: $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir) $(DESTDIR)$(includedir_internal) diff --git a/src/interfaces/libpq/pg_service.conf.sample b/src/interfaces/libpq/pg_service.conf.sample new file mode 100644 index 00000000000..d5d486f904a --- /dev/null +++ b/src/interfaces/libpq/pg_service.conf.sample @@ -0,0 +1,16 @@ +# +# Connection configuration file +# +# A service is a set of named connection parameters. You may specify +# multiple services in this file. Each starts with a service name in +# brackets. Subsequent lines have connection configuration parameters of +# the pattern "param=value". A sample configuration for template1 is +# included in this file. If no database name is specified, it is assumed +# to match the service name. Lines beginning with '#' are comments. +# +# Copy this to your sysconf directory (typically /usr/local/pgsql/etc) and +# rename it pg_service.conf. +# +# +#[template1] +#user=postgres |
