Search Postgresql Archives

Re: checking SQL statement/subexpression validity

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> I need to check whether a SQL subexpression (to be used in WHERE 
> clause), e.g.:

I've never tested it from Perl, but could you use 'explain select....'
to see if it parses?  It won't actually execute it if it does.
--
Mike Nolan

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

               http://archives.postgresql.org

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux