diff options
author | Bruce Momjian <bruce@momjian.us> | 2006-08-11 19:20:59 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2006-08-11 19:20:59 +0000 |
commit | 33bf73a79ae9175093d13674b5f28b89affdbca5 (patch) | |
tree | abe92ce83cd1721367f328e14dec98915164bdd3 /src/bin/psql/mainloop.c | |
parent | 6932048b9bde89e81df48a0122a14e4784e64d1e (diff) | |
download | postgresql-33bf73a79ae9175093d13674b5f28b89affdbca5.tar.gz postgresql-33bf73a79ae9175093d13674b5f28b89affdbca5.zip |
Make the psql line counter 64-bit so it can handle files > 4gig lines.
David Fetter
Diffstat (limited to 'src/bin/psql/mainloop.c')
-rw-r--r-- | src/bin/psql/mainloop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/psql/mainloop.c b/src/bin/psql/mainloop.c index fdbf29d8e30..730210b20c9 100644 --- a/src/bin/psql/mainloop.c +++ b/src/bin/psql/mainloop.c @@ -3,7 +3,7 @@ * * Copyright (c) 2000-2006, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/bin/psql/mainloop.c,v 1.81 2006/07/14 14:52:26 momjian Exp $ + * $PostgreSQL: pgsql/src/bin/psql/mainloop.c,v 1.82 2006/08/11 19:20:59 momjian Exp $ */ #include "postgres_fe.h" #include "mainloop.h" @@ -44,7 +44,7 @@ MainLoop(FILE *source) /* Save the prior command source */ FILE *prev_cmd_source; bool prev_cmd_interactive; - unsigned int prev_lineno; + uint64 prev_lineno; /* Save old settings */ prev_cmd_source = pset.cur_cmd_source; |