| From: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
|---|---|
| To: | PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | bugfix: --echo-hidden is not supported by \sf statements |
| Date: | 2013-01-11 11:04:35 |
| Message-ID: | CAFj8pRCPp+OmVQZGoMcqUgQPnaLPz-t4zyiThw05hos3T893Ng@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hello
this is very simple patch - it enables hidden_queries for commands
\sf and \ef to be consistent with other describing commands.
bash-4.1$ ./psql postgres -E
psql (9.3devel)
Type "help" for help.
postgres=# \sf+ foo
********* QUERY **********
SELECT pg_catalog.pg_get_functiondef(16385)
**************************
CREATE OR REPLACE FUNCTION public.foo(a integer)
RETURNS integer
LANGUAGE plpgsql
1 AS $function$
2 begin
3 return 10/a;
4 end;
5 $function$
Regards
Pavel Stehule
| Attachment | Content-Type | Size |
|---|---|---|
| sf_hidden_query.patch | application/octet-stream | 1.3 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Peter Eisentraut | 2013-01-11 12:00:27 | allowing privileges on untrusted languages |
| Previous Message | Simon Riggs | 2013-01-11 10:57:45 | Re: Performance Improvement by reducing WAL for Update Operation |