Re: psql: add \pset true/false

Michael Paquier <michael.paquier@gmail.com>

From: Michael Paquier <michael.paquier@gmail.com>
To: Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Cc: Jim.Nasby@bluetreble.com, peter_e@gmx.net, Tom Lane <tgl@sss.pgh.pa.us>, marko@joh.to, daniel@manitou-mail.org, PostgreSQL mailing lists <pgsql-hackers@postgresql.org>
Date: 2015-12-03T06:48:50Z
Lists: pgsql-hackers
On Thu, Dec 3, 2015 at 2:53 PM, Kyotaro HORIGUCHI
<horiguchi.kyotaro@lab.ntt.co.jp> wrote:
> The attached patch adds a function to load output filter DLL.
> The second file is an example filter module. The following
> commandline with the file can create a test filter module. I
> suppose preload feature only needs additional few lines.

 #include "print.h"
+#include "dlload.h"

I guess that your environment is on Windows... My guess is that you
would need a facility similar to what is in
src/backend/port/dynloader/ but for frontends, and this is not really
worth the move just for this particularly type enforcement in psql.
-- 
Michael


Commits

  1. Add \pset options for boolean value display