pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Erik Rijkers <er@xs4all.nl>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: pg_dump: Add FOREIGN to ALTER statements, if appropriate
Date: Fri, 20 Mar 2020 21:50:59 +0100
Message-ID: <b75a5437be02f2d904f21604541dac22@xs4all.nl> (raw)
In-Reply-To: <E1jFOM9-0001xl-FH@gemulon.postgresql.org>
References: <E1jFOM9-0001xl-FH@gemulon.postgresql.org>

On 2020-03-20 21:35, Alvaro Herrera wrote:
> pg_dump: Add FOREIGN to ALTER statements, if appropriate
> 
> Author: Luis Carril
> Reviewed-by: Tomas Vondra, Daniel Gustafsson, Álvaro Herrera
> Discussion:
> https://postgr.es/m/LEJPR01MB0185A19B2E7C98E5E2A031F5E7F20@LEJPR01MB0185.DEUPRD01.PROD.OUTLOOK.DE
> 
> Branch
> ------
> master
> 
> Details
> -------
> https://git.postgresql.org/pg/commitdiff/4e62091341b4a55666a32dd7762f185a1faa54f7
> 
> Modified Files
> --------------
> src/bin/pg_dump/pg_dump.c | 99 
> ++++++++++++++++++++++-------------------------
> 1 file changed, 46 insertions(+), 53 deletions(-)


Something not quite right:

./configure  
--prefix=/home/aardvark/pg_stuff/pg_installations/pgsql.HEAD 
--bindir=/home/aardvark/pg_stuff/pg_installations/pgsql.HEAD/bin.fast 
--libdir=/home/aardvark/pg_stuff/pg_installations/pgsql.HEAD/lib.fast 
--with-pgport=6513 --quiet --enable-depend    --with-libxml 
--with-libxslt --with-zlib --with-openssl  --enable-tap-tests  
--with-extra-version=_HEAD_0320_4e62


pg_dump.c: In function ‘dumpTrigger’:
pg_dump.c:17469:51: error: ‘foreign’ undeclared (first use in this 
function); did you mean ‘fopen’?
    appendPQExpBuffer(query, "\nALTER %sTABLE %s ", foreign,
                                                    ^~~~~~~
                                                    fopen
pg_dump.c:17469:51: note: each undeclared identifier is reported only 
once for each function it appears in
make[3]: *** [../../../src/Makefile.global:920: pg_dump.o] Error 1
make[2]: *** [Makefile:41: all-pg_dump-recurse] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:42: all-bin-recurse] Error 2
make: *** [GNUmakefile:11: all-src-recurse] Error 2







view thread (3+ messages)  latest in thread

Message-ID: <b75a5437be02f2d904f21604541dac22@xs4all.nl>
Permalink:  ../b75a5437be02f2d904f21604541dac22@xs4all.nl/
Also on:    postgresql.org/message-id/b75a5437be02f2d904f21604541dac22@xs4all.nl

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: er@xs4all.nl, alvherre@alvh.no-ip.org
  Subject: Re: pgsql: pg_dump: Add FOREIGN to ALTER statements, if appropriate
  In-Reply-To: <b75a5437be02f2d904f21604541dac22@xs4all.nl>
  References: <E1jFOM9-0001xl-FH@gemulon.postgresql.org> <b75a5437be02f2d904f21604541dac22@xs4all.nl>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox