pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
PG wiki updated with query to show unindexed foreign keys
5+ messages / 2 participants
[nested] [flat]

* PG wiki updated with query to show unindexed foreign keys
@ 2013-07-07 23:29 bricklen <bricklen@gmail.com>
  2013-07-10 00:02 ` Re: PG wiki updated with query to show unindexed foreign keys Scott Ribe <scott_ribe@elevated-dev.com>
  0 siblings, 1 reply; 5+ messages in thread

From: bricklen @ 2013-07-07 23:29 UTC (permalink / raw)
  To: pgsql-admin

https://wiki.postgresql.org/wiki/Unindexed_foreign_keys

Suggestions and feedback welcome on the query referenced in the link above.

^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: PG wiki updated with query to show unindexed foreign keys
  2013-07-07 23:29 PG wiki updated with query to show unindexed foreign keys bricklen <bricklen@gmail.com>
@ 2013-07-10 00:02 ` Scott Ribe <scott_ribe@elevated-dev.com>
  2013-07-10 00:29   ` Re: PG wiki updated with query to show unindexed foreign keys bricklen <bricklen@gmail.com>
  0 siblings, 1 reply; 5+ messages in thread

From: Scott Ribe @ 2013-07-10 00:02 UTC (permalink / raw)
  To: bricklen <bricklen@gmail.com>; +Cc: pgsql-admin

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






-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: PG wiki updated with query to show unindexed foreign keys
  2013-07-07 23:29 PG wiki updated with query to show unindexed foreign keys bricklen <bricklen@gmail.com>
  2013-07-10 00:02 ` Re: PG wiki updated with query to show unindexed foreign keys Scott Ribe <scott_ribe@elevated-dev.com>
@ 2013-07-10 00:29   ` bricklen <bricklen@gmail.com>
  2013-07-10 00:34     ` Re: PG wiki updated with query to show unindexed foreign keys Scott Ribe <scott_ribe@elevated-dev.com>
  0 siblings, 1 reply; 5+ messages in thread

From: bricklen @ 2013-07-10 00:29 UTC (permalink / raw)
  To: Scott Ribe <scott_ribe@elevated-dev.com>; +Cc: pgsql-admin

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!

^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: PG wiki updated with query to show unindexed foreign keys
  2013-07-07 23:29 PG wiki updated with query to show unindexed foreign keys bricklen <bricklen@gmail.com>
  2013-07-10 00:02 ` Re: PG wiki updated with query to show unindexed foreign keys Scott Ribe <scott_ribe@elevated-dev.com>
  2013-07-10 00:29   ` Re: PG wiki updated with query to show unindexed foreign keys bricklen <bricklen@gmail.com>
@ 2013-07-10 00:34     ` Scott Ribe <scott_ribe@elevated-dev.com>
  2013-07-10 00:36       ` Re: PG wiki updated with query to show unindexed foreign keys bricklen <bricklen@gmail.com>
  0 siblings, 1 reply; 5+ messages in thread

From: Scott Ribe @ 2013-07-10 00:34 UTC (permalink / raw)
  To: bricklen <bricklen@gmail.com>; +Cc: pgsql-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



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: PG wiki updated with query to show unindexed foreign keys
  2013-07-07 23:29 PG wiki updated with query to show unindexed foreign keys bricklen <bricklen@gmail.com>
  2013-07-10 00:02 ` Re: PG wiki updated with query to show unindexed foreign keys Scott Ribe <scott_ribe@elevated-dev.com>
  2013-07-10 00:29   ` Re: PG wiki updated with query to show unindexed foreign keys bricklen <bricklen@gmail.com>
  2013-07-10 00:34     ` Re: PG wiki updated with query to show unindexed foreign keys Scott Ribe <scott_ribe@elevated-dev.com>
@ 2013-07-10 00:36       ` bricklen <bricklen@gmail.com>
  0 siblings, 0 replies; 5+ messages in thread

From: bricklen @ 2013-07-10 00:36 UTC (permalink / raw)
  To: Scott Ribe <scott_ribe@elevated-dev.com>; +Cc: pgsql-admin

On Tue, Jul 9, 2013 at 5:34 PM, Scott Ribe <scott_ribe@elevated-dev.com>wrote:

> 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!
>

Everyone wins!

^ permalink  raw  reply  [nested|flat] 5+ messages in thread


end of thread, other threads:[~2013-07-10 00:36 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2013-07-07 23:29 PG wiki updated with query to show unindexed foreign keys bricklen <bricklen@gmail.com>
2013-07-10 00:02 ` Scott Ribe <scott_ribe@elevated-dev.com>
2013-07-10 00:29   ` bricklen <bricklen@gmail.com>
2013-07-10 00:34     ` Scott Ribe <scott_ribe@elevated-dev.com>
2013-07-10 00:36       ` bricklen <bricklen@gmail.com>

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