Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
7157114d
Commit
7157114d
authored
17 years ago
by
Alvaro Herrera
Browse files
Options
Downloads
Patches
Plain Diff
Remove long-unused and broken TCL_ARRAYS.
parent
c67f6f2f
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/backend/utils/adt/arrayfuncs.c
+1
-7
1 addition, 7 deletions
src/backend/utils/adt/arrayfuncs.c
src/include/pg_config_manual.h
+1
-11
1 addition, 11 deletions
src/include/pg_config_manual.h
with
2 additions
and
18 deletions
src/backend/utils/adt/arrayfuncs.c
+
1
−
7
View file @
7157114d
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/adt/arrayfuncs.c,v 1.14
0
2008/0
1/01 19:45:52 momjian
Exp $
* $PostgreSQL: pgsql/src/backend/utils/adt/arrayfuncs.c,v 1.14
1
2008/0
2/29 20:58:33 alvherre
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -1030,9 +1030,7 @@ array_out(PG_FUNCTION_ARGS)
...
@@ -1030,9 +1030,7 @@ array_out(PG_FUNCTION_ARGS)
if
(
ch
==
'"'
||
ch
==
'\\'
)
if
(
ch
==
'"'
||
ch
==
'\\'
)
{
{
needquote
=
true
;
needquote
=
true
;
#ifndef TCL_ARRAYS
overall_length
+=
1
;
overall_length
+=
1
;
#endif
}
}
else
if
(
ch
==
'{'
||
ch
==
'}'
||
ch
==
typdelim
||
else
if
(
ch
==
'{'
||
ch
==
'}'
||
ch
==
typdelim
||
isspace
((
unsigned
char
)
ch
))
isspace
((
unsigned
char
)
ch
))
...
@@ -1103,7 +1101,6 @@ array_out(PG_FUNCTION_ARGS)
...
@@ -1103,7 +1101,6 @@ array_out(PG_FUNCTION_ARGS)
if
(
needquotes
[
k
])
if
(
needquotes
[
k
])
{
{
APPENDCHAR
(
'"'
);
APPENDCHAR
(
'"'
);
#ifndef TCL_ARRAYS
for
(
tmp
=
values
[
k
];
*
tmp
;
tmp
++
)
for
(
tmp
=
values
[
k
];
*
tmp
;
tmp
++
)
{
{
char
ch
=
*
tmp
;
char
ch
=
*
tmp
;
...
@@ -1113,9 +1110,6 @@ array_out(PG_FUNCTION_ARGS)
...
@@ -1113,9 +1110,6 @@ array_out(PG_FUNCTION_ARGS)
*
p
++
=
ch
;
*
p
++
=
ch
;
}
}
*
p
=
'\0'
;
*
p
=
'\0'
;
#else
APPENDSTR
(
values
[
k
]);
#endif
APPENDCHAR
(
'"'
);
APPENDCHAR
(
'"'
);
}
}
else
else
...
...
This diff is collapsed.
Click to expand it.
src/include/pg_config_manual.h
+
1
−
11
View file @
7157114d
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
* for developers. If you edit any of these, be sure to do a *full*
* for developers. If you edit any of these, be sure to do a *full*
* rebuild (and an initdb if noted).
* rebuild (and an initdb if noted).
*
*
* $PostgreSQL: pgsql/src/include/pg_config_manual.h,v 1.2
7
200
7
/0
6/08 18:23:53 tgl
Exp $
* $PostgreSQL: pgsql/src/include/pg_config_manual.h,v 1.2
8
200
8
/0
2/29 20:58:33 alvherre
Exp $
*------------------------------------------------------------------------
*------------------------------------------------------------------------
*/
*/
...
@@ -99,16 +99,6 @@
...
@@ -99,16 +99,6 @@
*/
*/
#define NUM_USER_DEFINED_LWLOCKS 4
#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
* Define this if you want psql to _always_ ask for a username and a
* password for password authentication.
* password for password authentication.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment