Re: How to show the current schema or search path in the psql PROMP

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
Cc: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>, Joshua Tolley <eggyknap(at)gmail(dot)com>, Schwaighofer Clemens <clemens(dot)schwaighofer(at)tequila(dot)jp>, pgsql-general(at)postgresql(dot)org
Subject: Re: How to show the current schema or search path in the psql PROMP
Date: 2010-06-11 20:18:20
Message-ID: 12197.1276287500@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com> writes:
> But that runs a shell command, how's that supposed to get the
> search_path? I've been trying to think up a solution to that and
> can't come up with one.

Yeah, and you do *not* want the prompt mechanism trying to send SQL
commands...

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2010-06-11 20:26:16 Re: How to show the current schema or search path in the psql PROMP
Previous Message Martijn van Oosterhout 2010-06-11 19:48:54 Re: checkpoint spikes