pg.ddx.io pgsql-admin@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: Scott Ribe <scott_ribe@elevated-dev.com>
To: bricklen <bricklen@gmail.com>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: PG wiki updated with query to show unindexed foreign keys
Date: Tue, 9 Jul 2013 18:34:38 -0600
Message-ID: <70E06932-F26B-4528-8E33-21FFE90B6EF8@elevated-dev.com> (raw)
In-Reply-To: <CAGrpgQ-UwuVdMwMoXVBsDmnQLGzjT8GH1ZBULu_zXcLkWneCkg@mail.gmail.com>
References: <CAGrpgQ8e6U7XLNC7=tpEGHST=2x962hM-Ww0x-+u=hUL-wEx4Q@mail.gmail.com>
<40B4F1E7-9782-438F-8C7C-509DE9E7E2C8@elevated-dev.com>
<CAGrpgQ-UwuVdMwMoXVBsDmnQLGzjT8GH1ZBULu_zXcLkWneCkg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>
On Jul 9, 2013, at 6:29 PM, bricklen wrote:
> On Tue, Jul 9, 2013 at 5:02 PM, Scott Ribe <scott_ribe@elevated-dev.com> wrote:
> On Jul 7, 2013, at 5:29 PM, bricklen wrote:
>
> > Suggestions and feedback welcome on the query referenced in the link above.
>
> Lack of quoting of identifiers means that it will croak on a database that uses mixed-case identifiers.
>
> --
> Scott Ribe
> scott_ribe@elevated-dev.com
> http://www.elevated-dev.com/
> (303) 722-0567 voice
>
> I've updated the wiki (https://wiki.postgresql.org/wiki/Unindexed_foreign_keys) to reflect your suggestion.
>
> Thanks!
Indeed ;-)
It now works on my database that carries a mixed-case naming convention from before I switched to PG (actually, from before PG existed)...
And it flagged some that I need to fix!
--
Scott Ribe
scott_ribe@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
view thread (5+ messages) latest in thread
Message-ID: <70E06932-F26B-4528-8E33-21FFE90B6EF8@elevated-dev.com> Permalink: ../70E06932-F26B-4528-8E33-21FFE90B6EF8@elevated-dev.com/ Also on: postgresql.org/message-id/70E06932-F26B-4528-8E33-21FFE90B6EF8@elevated-dev.com ·
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-admin@postgresql.org Cc: scott_ribe@elevated-dev.com, bricklen@gmail.com Subject: Re: PG wiki updated with query to show unindexed foreign keys In-Reply-To: <70E06932-F26B-4528-8E33-21FFE90B6EF8@elevated-dev.com> References: <CAGrpgQ8e6U7XLNC7=tpEGHST=2x962hM-Ww0x-+u=hUL-wEx4Q@mail.gmail.com> <40B4F1E7-9782-438F-8C7C-509DE9E7E2C8@elevated-dev.com> <CAGrpgQ-UwuVdMwMoXVBsDmnQLGzjT8GH1ZBULu_zXcLkWneCkg@mail.gmail.com> <70E06932-F26B-4528-8E33-21FFE90B6EF8@elevated-dev.com> * 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