pg.ddx.io pgsql-bugs@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: Heikki Linnakangas <hlinnaka@iki.fi>
To: Julien Rouhaud <julien.rouhaud@dalibo.com>
To: Fabien COELHO <coelho@cri.ensmp.fr>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Guillaume Lelarge <guillaume@lelarge.info>
Cc: mail@bwe.im, Oleksandr Shulgin <oleksandr.shulgin@zalando.de>
Cc: PostgreSQL Bugs List <pgsql-bugs@postgresql.org>
Subject: Re: BUG #12379: pgbench should hint to pgbench -i
Date: Sat, 22 Aug 2015 14:28:56 +0100
Message-ID: <55D87918.6030805@iki.fi> (raw)
In-Reply-To: <55AA7BC9.6090307@dalibo.com>
References: <20141231105955.8014.38426@wrigleys.postgresql.org>
<alpine.DEB.2.10.1503080851220.4406@sto>
<alpine.DEB.2.10.1504260845160.6827@sto>
<87oales6zm.fsf@ashulgin01.corp.ad.zalando.net>
<alpine.DEB.2.10.1505221131480.30229@sto>
<55984046.60901@dalibo.com>
<CAECtzeWOm0JmJpDwM=woq8mfqfjPHOxLvSAaPrs=qOHvbWzxkw@mail.gmail.com>
<559908D4.7020901@dalibo.com>
<alpine.DEB.2.10.1507051821230.27775@sto>
<23314.1436142811@sss.pgh.pa.us>
<alpine.DEB.2.10.1507060709030.7427@sto>
<55AA32E0.7070006@dalibo.com>
<alpine.DEB.2.10.1507181347020.6263@sto>
<55AA7BC9.6090307@dalibo.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
On 07/18/2015 05:16 PM, Julien Rouhaud wrote:
> On 18/07/2015 13:49, Fabien COELHO wrote:
>>
>> Hello Julien,
>>
>>> Here's a v7 patch which display the hint only if SQLSTATE is
>>> ERRCODE_UNDEFINED_TABLE and use the message Tom suggested, as there
>>> wasn't any better suggestion or strong objection with it in the other
>>> thread.
>>
>> I'm wondering why you added the define. Isn't-there some convenient
>> include to get errcode definitions?
>
> IIRC correctly, you have to include postgres.h for that. I supposed it
> was better to define it than adding such an include, since it shouldn't
> change and it's already done like this in vacuumdb.c.
Ok, committed.
- Heikki
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
view thread (23+ messages) latest in thread
Message-ID: <55D87918.6030805@iki.fi> Permalink: ../55D87918.6030805@iki.fi/ Also on: postgresql.org/message-id/55D87918.6030805@iki.fi ·
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-bugs@postgresql.org Cc: hlinnaka@iki.fi, julien.rouhaud@dalibo.com, coelho@cri.ensmp.fr, tgl@sss.pgh.pa.us, guillaume@lelarge.info, oleksandr.shulgin@zalando.de Subject: Re: BUG #12379: pgbench should hint to pgbench -i In-Reply-To: <55D87918.6030805@iki.fi> References: <20141231105955.8014.38426@wrigleys.postgresql.org> <alpine.DEB.2.10.1503080851220.4406@sto> <alpine.DEB.2.10.1504260845160.6827@sto> <87oales6zm.fsf@ashulgin01.corp.ad.zalando.net> <alpine.DEB.2.10.1505221131480.30229@sto> <55984046.60901@dalibo.com> <CAECtzeWOm0JmJpDwM=woq8mfqfjPHOxLvSAaPrs=qOHvbWzxkw@mail.gmail.com> <559908D4.7020901@dalibo.com> <alpine.DEB.2.10.1507051821230.27775@sto> <23314.1436142811@sss.pgh.pa.us> <alpine.DEB.2.10.1507060709030.7427@sto> <55AA32E0.7070006@dalibo.com> <alpine.DEB.2.10.1507181347020.6263@sto> <55AA7BC9.6090307@dalibo.com> <55D87918.6030805@iki.fi> * 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