summaryrefslogtreecommitdiff
path: root/src/bin/psql/settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/psql/settings.h')
-rw-r--r--src/bin/psql/settings.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/bin/psql/settings.h b/src/bin/psql/settings.h
index 5687e1801f2..828dbd40d0f 100644
--- a/src/bin/psql/settings.h
+++ b/src/bin/psql/settings.h
@@ -1,11 +1,13 @@
#ifndef SETTINGS_H
#define SETTINGS_H
+#include <config.h>
+#include <c.h>
#include <stdio.h>
#include <stdlib.h>
#include <libpq-fe.h>
-#include <c.h>
+#include <postgres_ext.h>
#include "variables.h"
#include "print.h"
@@ -41,6 +43,8 @@ typedef struct _psqlSettings
bool has_client_encoding; /* was PGCLIENTENCODING set on
* startup? */
+ Oid lastOid; /* saves oid from insert command
+ because people want it so badly */
} PsqlSettings;