[GENERAL] How to make server generate more output?

2017-08-11 Thread Rui Pacheco
Hello, I know this is a bit vague but I’m looking for a configuration parameter/startup switch that once set or enabled would make Postgresql return more data that normal. Specifically the wire protocol would return more notification messages and such. I remember seeing this while developing an

[GENERAL] PortalSuspended

2017-03-03 Thread Rui Pacheco
Hello, Is there a way to force the backend to send a PortalSuspended message to the front-end? Perhaps emulate a particular load or a specific sequence of sql commands sent from the front-end? -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscri

[GENERAL] Odd response from server

2017-02-18 Thread Rui Pacheco
I’m trying to send a Parse message with the name “my_name” and the statement “select * from departments” and no type id’s, along with a flush message: 'P','\0','\0','\0','(','m','y','_','n','a','m','e','\0','s','e','l','e','c','t',' ','*',' ','f','r','o','m',' ','d','e','p','a','r','t','m','e',

[GENERAL] Logging broken messages

2017-02-07 Thread Rui Pacheco
Hello, I’m trying to implement a version of the wire protocol but I’ve hit a problem: whenever I send a Close Statement message to the remote, it just hangs indefinitely. I suspect the problem could be on my side but I can’t find anything on my code that doesn’t match the manual

[GENERAL] UTF-8 on Postgres wire protocol

2016-12-21 Thread Rui Pacheco
I’m toying around with the wire protocol and came across something I don’t understand. I created a table with two columns, one called “id” and one called “señor”. When I select from that table I get the list of columns and while its fairly easy to identify the column with the name “id”, I’m not