Skip site navigation (1) Skip section navigation (2)

pgsql-server/src/bin/psql tab-complete.c

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server/src/bin/psql tab-complete.c
Date: 2003-10-14 22:47:12
Message-ID: 20031014224712.E2E78D1B4F2@svr1.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
CVSROOT:	/cvsroot
Module name:	pgsql-server
Changes by:	tgl(at)svr1(dot)postgresql(dot)org	03/10/14 19:47:12

Modified files:
	src/bin/psql   : tab-complete.c 

Log message:
	Use PQescapeString to ensure that tab-completion queries are not messed
	up by quotes or backslashes in words that are being matched to database
	names (per gripe from Ian Barwick, though I didn't use his patch).
	Also fix possible memory leakage if _complete_with_query isn't run to
	completion (not clear if that can happen or not, but be safe).


pgsql-committers by date

Next:From: Peter Eisentraut - PostgreSQLDate: 2003-10-15 09:39:04
Subject: pgsql-server/src/interfaces/jdbc/org/postgresq ...
Previous:From: Bruce MomjianDate: 2003-10-14 19:08:00
Subject: pgsql-server/src/include c.h

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group