Re: [HACKERS] PQgetlength vs. octet_length()

2009-08-18 Thread Michael Clark
Hello - am I in the wrong mailing list for this sort of problem? :-/ Thanks, Michael. On Mon, Aug 17, 2009 at 6:28 PM, Michael Clark wrote: > Hello everyone. > Having a weird issue. > > I have a value inserted into a bytea column, which is about 137megs in > size. > > If I

[HACKERS] PQgetlength vs. octet_length()

2009-08-17 Thread Michael Clark
Hello everyone. Having a weird issue. I have a value inserted into a bytea column, which is about 137megs in size. If I use octet_length() to check the size of the column for this specific row I get this: TestDB=# SELECT octet_length(rawdata) FROM LargeData; octet_length -- 14372