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

backslash in psql output

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: hackers(at)postgreSQL(dot)org (PostgreSQL-development)
Subject: backslash in psql output
Date: 1998-10-09 20:24:14
Message-ID: (view raw or whole thread)
Lists: pgsql-hackers
I believe Tom Lane removed the double-backslash from the psql output by
modifying PQprint.

I recommend that is reversed, because psql escapes out the table column
delimiters with a single backslash, and now the format will be

	rtest=> create table test(x text);
	ERROR:  test relation already exists
	test=> create table test3(x text);
	test=> insert into test3 values ('\\x');
	INSERT 322185 1
	test=> select * from test3;
	(1 row)

This used to show as:

	(1 row)


  Bruce Momjian                        |
  maillist(at)candle(dot)pha(dot)pa(dot)us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026


pgsql-hackers by date

Next:From: Tom Ivar HelbekkmoDate: 1998-10-09 20:38:37
Subject: Re: [HACKERS] Open 6.4 items
Previous:From: Bruce MomjianDate: 1998-10-09 19:52:15
Subject: Re: [HACKERS] dynamic libraries

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