Warning: is_dir(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/data/web/virtuals/98151/virtual) in /data/web/virtuals/98151/virtual/www/subdom/postgresql/wp-content/plugins/wp-simple-firewall/src/lib/vendor/fernleafsystems/wordpress-services/src/Core/Fs.php on line 465

Warning: Cannot modify header information - headers already sent by (output started at /data/web/virtuals/98151/virtual/www/subdom/postgresql/wp-content/plugins/wp-simple-firewall/src/lib/vendor/fernleafsystems/wordpress-services/src/Core/Fs.php:465) in /data/web/virtuals/98151/virtual/www/subdom/postgresql/wp-content/plugins/disable-xml-rpc-pingback/disable-xml-rpc-pingback.php on line 51
parser Archives - PostgreSQL Candies

Very simple query decomposition

This is just small simple hint but maybe someone could need it. If you have some not complicated query you can decompose it to parts using this query:   with srcquery as (select replace(lower( --this is some "normalization of the query string 'SELECT...

Parse tree in messages output

Do you need to know how is PostgreSQL parsing your query? To see parse tree for select in “messages output” use this: set client_min_messages to 'debug1'; set debug_print_parse to on; select * from pg_class; But parse tree is very very very long and for...