diff options
author | Tatsuo Ishii <ishii@postgresql.org> | 2001-02-27 08:13:31 +0000 |
---|---|---|
committer | Tatsuo Ishii <ishii@postgresql.org> | 2001-02-27 08:13:31 +0000 |
commit | df247b821d811abcfc0ac707e1a3af9dfce474c9 (patch) | |
tree | dbc50e5ce1f0f4ab332e3810bef8c56921308e92 /src/bin/psql/input.c | |
parent | 919ace07d59f1a0fbb237b0ca348e4a7574b4042 (diff) |
Massive commits for SunOS4 port.
Diffstat (limited to 'src/bin/psql/input.c')
-rw-r--r-- | src/bin/psql/input.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/bin/psql/input.c b/src/bin/psql/input.c index b3fdd55c132..894fc8d4547 100644 --- a/src/bin/psql/input.c +++ b/src/bin/psql/input.c @@ -3,7 +3,7 @@ * * Copyright 2000 by PostgreSQL Global Development Group * - * $Header: /cvsroot/pgsql/src/bin/psql/input.c,v 1.15 2001/02/10 02:31:28 tgl Exp $ + * $Header: /cvsroot/pgsql/src/bin/psql/input.c,v 1.16 2001/02/27 08:13:27 ishii Exp $ */ #include "postgres_fe.h" #include "input.h" @@ -151,7 +151,11 @@ initializeInput(int flags) } #endif +#ifdef HAVE_ATEXIT atexit(finishInput); +#else + on_exit(finishInput); +#endif } |