summaryrefslogtreecommitdiff
path: root/src/bin/psql/stringutils.h
diff options
context:
space:
mode:
authorTom Lane2002-10-19 00:22:14 +0000
committerTom Lane2002-10-19 00:22:14 +0000
commitd271c86d50017b9a75d5b2c34dd718ba6ca0a987 (patch)
treebd47df9bd34096f899ef8bcec26c1e6368854113 /src/bin/psql/stringutils.h
parent630a0991cd4e32587225e0456573df5ef87854f0 (diff)
Fix psql's \copy to accept table names containing schemas, as well as
a column list. Bring its parsing of quoted names and quoted strings somewhat up to speed --- I believe it now handles all non-error cases the same way the backend would, but weird boundary conditions are not necessarily done the same way.
Diffstat (limited to 'src/bin/psql/stringutils.h')
-rw-r--r--src/bin/psql/stringutils.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/bin/psql/stringutils.h b/src/bin/psql/stringutils.h
index c2164f72a6..3103bc14bd 100644
--- a/src/bin/psql/stringutils.h
+++ b/src/bin/psql/stringutils.h
@@ -1,9 +1,9 @@
/*
* psql - the PostgreSQL interactive terminal
*
- * Copyright 2000 by PostgreSQL Global Development Group
+ * Copyright 2000-2002 by PostgreSQL Global Development Group
*
- * $Header$
+ * $Id$
*/
#ifndef STRINGUTILS_H
#define STRINGUTILS_H
@@ -11,11 +11,11 @@
/* The cooler version of strtok() which knows about quotes and doesn't
* overwrite your input */
extern char *strtokx(const char *s,
+ const char *whitespace,
const char *delim,
const char *quote,
- int escape,
- char *was_quoted,
- unsigned int *token_pos,
+ char escape,
+ bool del_quotes,
int encoding);
#endif /* STRINGUTILS_H */