FATAL:  terminating connection due to administrator command
SSL connection has been closed unexpectedly

select ctg from ewf.story  where id::text='2147728'

FATAL:  terminating connection due to administrator command
SSL connection has been closed unexpectedly

select txt,id,nam from ewf.category  where id::text='0'

FATAL:  terminating connection due to administrator command
SSL connection has been closed unexpectedly

select title,case when sub_ctg != -1 then (select nam from ewf.sub_category where id=sub_ctg) when ctg=1 then 'TaajaVarthalu' else (select nam from ewf.category where id=ctg) end as cde,gist,sub_ctg from ewf.story_0 where id::text='2147728'

FATAL:  terminating connection due to administrator command
SSL connection has been closed unexpectedly

select md,mt from ewf.meta_tags  where ctg=0 AND sub_ctg=0

FATAL:  terminating connection due to administrator command
SSL connection has been closed unexpectedly

select video_url,width,height from ewf.story_0 where id::text='2147728'

FATAL:  terminating connection due to administrator command
SSL connection has been closed unexpectedly

Begin;

FATAL:  terminating connection due to administrator command
SSL connection has been closed unexpectedly

select array_to_string(array(select nam from ewf.story_tag where s_id=2147728), ', ') as txt

FATAL:  terminating connection due to administrator command
SSL connection has been closed unexpectedly

select id,title,to_char(etm,'HH:MI PM') as etm from ewf.story_1 order by 1 desc limit 10