3 ms·
why does the java application/postgres output the id instead of omitting it in the first place?
by weaksauce 2y ago
why does the java application/postgres output the id instead of omitting it in the first place?
- aetherson 2y agoAdding PHP to your stack in order to drop a column from a result is a WILD decision.
- throw_aw100 2y agoI don't want to be a "back seat driver", but it seems strange to me as well. It could be that the original files are used by other processes, and that they for some reason don't want to create two separate files. Maybe an issue with office politics (works on a different team), or an attempt at saving disk space
- hyperman1 2y agoThe java thing is an off the shelf application, there is no way to turn off the generated id. So someone slapped some php glue code on it, php being the majority of the code. It is far from optimal, but good enough now to end up low on the priority list. As it runs on windows, I might move it to linux and add sed or something in the chain, losing the php completely. But for now, php it is.