Skip to content

Commit 3228a92

Browse files
committed
' is not valid HTML 4.01, so print the plain character instead.
1 parent ce9b75d commit 3228a92

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/bin/psql/print.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Copyright (c) 2000-2005, PostgreSQL Global Development Group
55
*
6-
* $PostgreSQL: pgsql/src/bin/psql/print.c,v 1.83 2006/02/12 02:56:21 tgl Exp $
6+
* $PostgreSQL: pgsql/src/bin/psql/print.c,v 1.84 2006/02/18 22:54:50 petere Exp $
77
*/
88
#include "postgres_fe.h"
99
#include "common.h"
@@ -918,9 +918,6 @@ html_escaped_print(const char *in, FILE *fout)
918918
case '"':
919919
fputs(""", fout);
920920
break;
921-
case '\'':
922-
fputs("'", fout);
923-
break;
924921
case ' ':
925922
/* protect leading space, for EXPLAIN output */
926923
if (leading_space)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy