Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
7157114d
Commit
7157114d
authored
Feb 29, 2008
by
Alvaro Herrera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove long-unused and broken TCL_ARRAYS.
parent
c67f6f2f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
18 deletions
+2
-18
src/backend/utils/adt/arrayfuncs.c
src/backend/utils/adt/arrayfuncs.c
+1
-7
src/include/pg_config_manual.h
src/include/pg_config_manual.h
+1
-11
No files found.
src/backend/utils/adt/arrayfuncs.c
View file @
7157114d
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/adt/arrayfuncs.c,v 1.14
0 2008/01/01 19:45:52 momjian
Exp $
* $PostgreSQL: pgsql/src/backend/utils/adt/arrayfuncs.c,v 1.14
1 2008/02/29 20:58:33 alvherre
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -1030,9 +1030,7 @@ array_out(PG_FUNCTION_ARGS)
if
(
ch
==
'"'
||
ch
==
'\\'
)
{
needquote
=
true
;
#ifndef TCL_ARRAYS
overall_length
+=
1
;
#endif
}
else
if
(
ch
==
'{'
||
ch
==
'}'
||
ch
==
typdelim
||
isspace
((
unsigned
char
)
ch
))
...
...
@@ -1103,7 +1101,6 @@ array_out(PG_FUNCTION_ARGS)
if
(
needquotes
[
k
])
{
APPENDCHAR
(
'"'
);
#ifndef TCL_ARRAYS
for
(
tmp
=
values
[
k
];
*
tmp
;
tmp
++
)
{
char
ch
=
*
tmp
;
...
...
@@ -1113,9 +1110,6 @@ array_out(PG_FUNCTION_ARGS)
*
p
++
=
ch
;
}
*
p
=
'\0'
;
#else
APPENDSTR
(
values
[
k
]);
#endif
APPENDCHAR
(
'"'
);
}
else
...
...
src/include/pg_config_manual.h
View file @
7157114d
...
...
@@ -6,7 +6,7 @@
* for developers. If you edit any of these, be sure to do a *full*
* rebuild (and an initdb if noted).
*
* $PostgreSQL: pgsql/src/include/pg_config_manual.h,v 1.2
7 2007/06/08 18:23:53 tgl
Exp $
* $PostgreSQL: pgsql/src/include/pg_config_manual.h,v 1.2
8 2008/02/29 20:58:33 alvherre
Exp $
*------------------------------------------------------------------------
*/
...
...
@@ -99,16 +99,6 @@
*/
#define NUM_USER_DEFINED_LWLOCKS 4
/*
* Define this to make libpgtcl's "pg_result -assign" command process
* C-style backslash sequences in returned tuple data and convert
* PostgreSQL array values into Tcl lists. CAUTION: This conversion
* is *wrong* unless you install the routines in
* contrib/string/string_io to make the server produce C-style
* backslash sequences in the first place.
*/
/* #define TCL_ARRAYS */
/*
* Define this if you want psql to _always_ ask for a username and a
* password for password authentication.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment