new set of psql patches for loading (saving) data from (to) text, binary files

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: new set of psql patches for loading (saving) data from (to) text, binary files
Date: 2016-12-15 08:31:43
Message-ID: CAFj8pRDF=WxXHTDAn0c233OkDDcv==FBYkfshoLA2b+ZEvT=SQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox
Thread:
Lists: pgsql-hackers

Hi

I am sending set of patches - for simpler testing these patches are
independent in this moment.

These patches are replacement of my previous patches in this area: COPY RAW
and fileref variables.

1. parametrized queries support - the psql variables can be passed as query
parameters

2. \gstore, \gbstore - save returned (binary) value to file

3. \set_from_file. \set_from_bfile - set a variable from (binary) file

The code is simple - there are not any change in critical or complex parts
of psql.

Regards

Pavel

Comments, notes?

Attachment Content-Type Size
psql-gstore-01.patch text/x-patch 9.7 KB
psql-paramatrized_queries-01.patch text/x-patch 14.4 KB
psql-set-from-file-01.patch text/x-patch 8.2 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2016-12-15 08:44:15 Crash on promotion when recovery.conf is renamed
Previous Message David Fetter 2016-12-15 08:23:24 Transaction oddity with list partition of a list partition