Thread: AW: Re: [PATCHES] Fw: Isn't pg_statistic a security hol e - Solution Proposal

AW: Re: [PATCHES] Fw: Isn't pg_statistic a security hol e - Solution Proposal

From
Zeugswetter Andreas SB
Date:
> What if I rename the get_seq_name function and move it to
> backend/utils/adt/name.c (and of course change the references to it in
> sequence.c)? Actually, now I'm wondering why nameout doesn't 
> downcase and
> truncate.

Because identifiers can be double quoted if you feel like preserving case.

select * from "My fuNKy Table Name";

SQL is only case insensitive when identifiers are not quoted.

Andreas