[BUGS] Feature request - Information Schema enhancement

2013-10-11 Thread Joe Love
I know the Information Schema is a SQL standard, but it's somewhat lacking. I was trying to write a web page that showed a db table,it's columns and foreign keys. All went well and I was able to get this tool working great using the information_schema, problem is that some of the information_sche

Re: [BUGS] tablefunc extension

2013-09-22 Thread Joe Conway
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/22/2013 04:17 PM, Joe Conway wrote: > If you still have a problem please provide SQL that can be cut and > pasted which: 1) create your table 2) insert sample rows Then show > us what out put you are trying to acheive as output from th

Re: [BUGS] tablefunc extension

2013-09-22 Thread Joe Conway
the documentation: http://www.postgresql.org/docs/9.2/interactive/tablefunc.html If you still have a problem please provide SQL that can be cut and pasted which: 1) create your table 2) insert sample rows Then show us what out put you are trying to acheive as output from that data. Joe - --

[BUGS] Spaces before newlines in view definitions in 9.3

2013-09-10 Thread Joe Abbate
t (breaking each column on a separate line) was done to improve readability but it has the side effect of making the text unreadable if processed via a YAML utility such as Pyrseas dbtoyaml (since YAML then quotes the entire string and even breaks it down further with extra backslashes). Regards,

[BUGS] Fwd: plpgsql plan caching allowing invalid data to enter table?

2013-07-09 Thread Joe Van Dyk
It's looking like I can use a plpgsql function to insert data into a table that violates a domain constraint. Is this a known problem? Session 1: create domain my_domain text check (length(value) > 2); create table my_table (name my_domain); create function f(text) returns void as $$ declare my_

[BUGS] BUG #7874: GUC's not in database dumps

2013-02-13 Thread joe
The following bug has been logged on the website: Bug reference: 7874 Logged by: Joe Van Dyk Email address: j...@tanga.com PostgreSQL version: 9.2.1 Operating system: OSX, Linux Description: If I run: alter database foo set my.name = 'joe'; that

Re: [BUGS] PL/R Median Busts Commit (Postgres 9.1.6 + plr 8.3.0.13 on Ubuntu 12.10 64 bit)

2013-01-28 Thread Joe Conway
> Making use of this seems to fix the original bug - and possibly the > SIGINT stealing too. > > Patch attached to set the variable (R_SignalHandlers = 0), and remove > the SIGINT workaround. Cool -- thanks. Maybe that got added in a release since last I looked. Joe -- Joe

Re: [BUGS] PL/R Median Busts Commit (Postgres 9.1.6 + plr 8.3.0.13 on Ubuntu 12.10 64 bit)

2013-01-24 Thread Joe Conway
finish and investigating what's causing the first error > call. Yeah -- will do. Thanks! Joe -- Joe Conway credativ LLC: http://www.credativ.us Linux, PostgreSQL, and general Open Source Training, Service, Consulting, & 24x7 Support -- Sent via pgsql-bugs mailing list (pg

Re: [BUGS] PL/R Median Busts Commit (Postgres 9.1.6 + plr 8.3.0.13 on Ubuntu 12.10 64 bit)

2013-01-24 Thread Joe Conway
On 01/24/2013 08:01 PM, Mark Kirkwood wrote: > Ah right - sorry, I did a quick look for a mail list on the plr web site > and didn't spot anything. No problem. It is plr-general on pgfoundry: http://pgfoundry.org/mail/?group_id=1000247 Joe -- Joe Conway credativ LLC: http://www.

Re: [BUGS] PL/R Median Busts Commit (Postgres 9.1.6 + plr 8.3.0.13 on Ubuntu 12.10 64 bit)

2013-01-24 Thread Joe Conway
On 01/24/2013 05:21 AM, Mark Kirkwood wrote: > I admit - it sounds unlikely. However a simple scenario (attached) gives > rise to: This is the wrong place for the bug report on PL/R I think, but I'll take a look. Joe > WARNING: AbortTransaction while in COMMIT state > PAN

[BUGS] BUG #7809: Running pg_dump on slave w/ streaming replication fails if there are unlogged tables

2013-01-14 Thread joe
The following bug has been logged on the website: Bug reference: 7809 Logged by: Joe Van Dyk Email address: j...@tanga.com PostgreSQL version: 9.2.2 Operating system: Ubuntu Description: Running pg_dump on a streaming replication slave with a database that has

[BUGS] BUG #7808: unnest doesn't handle nulls in array of composite types correctly

2013-01-14 Thread joe
The following bug has been logged on the website: Bug reference: 7808 Logged by: Joe Van Dyk Email address: j...@tanga.com PostgreSQL version: 9.2.1 Operating system: OSX Description: RhodiumToad says this is a bug in unnest, but honestly I don't quite understa

[BUGS] Possible memory leak/memory issue in pg_dump

2012-08-14 Thread Joe Tennant
While browsing the code, "pg_dump.c" the following block *appears* to be problematic. Additionally, there *appears* to be a malloc without a free (return or assignment) in the function "getBlobs(Archive *AH)" (pg_dump.c lines 2169 thru 2188 v9.1.4). /* * Each large object has its own BLOB archive

[BUGS] BUG #6699: pg_restore with -j -- doesn't restore view that groups by primary key

2012-06-19 Thread joe
The following bug has been logged on the website: Bug reference: 6699 Logged by: Joe Van Dyk Email address: j...@tanga.com PostgreSQL version: 9.1.4 Operating system: OSX Description: $ pg_restore -O -j 4 ~/tanga.dump -d tanga_dev_full_backup pg_restore: [archiver

[BUGS] BUG #6245: one click Installer problem

2011-10-08 Thread Joe
The following bug has been logged online: Bug reference: 6245 Logged by: Joe Email address: m...@me.com PostgreSQL version: latest Operating system: win 7 64 bit Description:one click Installer problem Details: the one click Installer hangs up during installation

Re: [BUGS] BUG #5583: dblink connection error

2010-07-30 Thread Joe Conway
hint: auth-method Also read: http://www.postgresql.org/docs/8.4/interactive/contrib-dblink-connect.html -and- http://www.postgresql.org/docs/8.4/interactive/contrib-dblink-connect-u.html HTH, Joe -- Joe Conway credativ LLC: http://www.credativ.us Linux, PostgreSQL, and general Open Source Train

Re: [BUGS] PostgreSQL-9.0alpha: jade required?

2010-02-24 Thread Joe Conway
repeat the issue in a fresh CentOS VM when I got home but did not see the problem (perhaps because jade was part of the install -- will have to check). Related to this I have noticed in recent weeks on my own development machine that "make install" takes *much* longer, but only sp

Re: [BUGS] BUG #5304: psql using conninfo fails in connecting to the server

2010-02-04 Thread Joe Conway
On 02/04/2010 09:37 AM, Joe Conway wrote: > On 02/04/2010 08:31 AM, Joe Conway wrote: >> On 02/04/2010 01:23 AM, Fujii Masao wrote: >>> On Thu, Feb 4, 2010 at 1:26 PM, Joe Conway wrote: >>>> OK, this one includes pg_dump(all)/pg_restore and common.c from >>>

Re: [BUGS] BUG #5304: psql using conninfo fails in connecting to the server

2010-02-04 Thread Joe Conway
On 02/04/2010 08:31 AM, Joe Conway wrote: > On 02/04/2010 01:23 AM, Fujii Masao wrote: >> On Thu, Feb 4, 2010 at 1:26 PM, Joe Conway wrote: >>> OK, this one includes pg_dump(all)/pg_restore and common.c from >>> bin/scripts (createdb, vacuumdb, etc). I still need to adj

Re: [BUGS] BUG #5304: psql using conninfo fails in connecting to the server

2010-02-04 Thread Joe Conway
On 02/04/2010 01:23 AM, Fujii Masao wrote: > On Thu, Feb 4, 2010 at 1:26 PM, Joe Conway wrote: >> OK, this one includes pg_dump(all)/pg_restore and common.c from >> bin/scripts (createdb, vacuumdb, etc). I still need to adjust the docs, >> but other than that any

Re: [BUGS] BUG #5304: psql using conninfo fails in connecting to the server

2010-02-03 Thread Joe Conway
On 02/02/2010 10:23 PM, Tom Lane wrote: > Joe Conway writes: >> Should I also be looking to replace all (or most) other instances of >> PQsetdbLogin()? > > I think we at least wanted to fix pg_dump(all)/pg_restore. Not sure if > the others are worth troubling over

Re: [BUGS] BUG #5304: psql using conninfo fails in connecting to the server

2010-02-02 Thread Joe Conway
On 02/02/2010 10:08 PM, Tom Lane wrote: > Joe Conway writes: >> Are there any of the psql parameters that we do not want to allow to be >> overridden by the conninfo string? > > Actually, now that I think about it, psql shouldn't be setting > application_name

Re: [BUGS] BUG #5304: psql using conninfo fails in connecting to the server

2010-02-02 Thread Joe Conway
cation_name"; values[4] = pset.progname; keywords[5] = "dbname"; values[5] = (options.action == ACT_LIST_DB && options.dbname == NULL) ? "postgres" : options.dbname; key

Re: [BUGS] BUG #5304: psql using conninfo fails in connecting to the server

2010-02-02 Thread Joe Conway
the defaults using connectOptions1(), applies the supplied other arguments overriding the defaults, and then finally computes derived options with connectOptions2(). It is essentially the same as PQconnectdb() except the supplied parameters are used before setting the derived options. Joe signature.asc Description: OpenPGP digital signature

Re: [BUGS] BUG #5304: psql using conninfo fails in connecting to the server

2010-02-02 Thread Joe Conway
'd suggest > something like > > keywords[0] = "host"; > values[0] = options.host; > keywords[1] = "port"; > values[1] = options.port; Will do. Joe signature.asc Description: OpenPGP digital signature

Re: [BUGS] BUG #5304: psql using conninfo fails in connecting to the server

2010-02-02 Thread Joe Conway
On 02/02/2010 05:46 PM, Fujii Masao wrote: > On Wed, Feb 3, 2010 at 10:05 AM, Joe Conway wrote: >> Objections? > > I think that PQconnectdbParams() rather than psql should handle the > dbname containing "=". Otherwise whenever we use PQconnectdbParams(), > we woul

Re: [BUGS] BUG #5304: psql using conninfo fails in connecting to the server

2010-02-02 Thread Joe Conway
gt;> accidental that it did. > > No, it was intentional. Here's a patch. If "=" is found in the dbname psql argument, the argument is assumed to be a conninfo string. In that case, append application_name to the conninfo and use PQsetdbLogin() as before. Otherwise

Re: [BUGS] BUG #5304: psql using conninfo fails in connecting to the server

2010-02-01 Thread Joe Conway
t;host=localhost" does not exist >>> >>> This is because the recently-introduced PQconnectStartParams() >>> doesn't handle correctly the dbname parameter containing '='. > >> Hmm, I don't think that was ever really supposed to work, it

[BUGS] BUG #5179: Installation fails

2009-11-11 Thread Joe Marshal Mathew
The following bug has been logged online: Bug reference: 5179 Logged by: Joe Marshal Mathew Email address: joemarshalmat...@gmail.com PostgreSQL version: 8.3 Operating system: Windows vista ultimate 64 bit Description:Installation fails Details: The installation

Re: [BUGS] dblink generates orphaned connections

2009-09-12 Thread Joe Conway
ereport() before PQfinish(conn) in > dblink_record_internal() when we use temporary connection. Thanks for the report. Patch applied to HEAD and 8.4 branch. Problem introduced in 8.4 Joe signature.asc Description: OpenPGP digital signature

Re: [BUGS] BUG #4916: wish: more statistical functions (median, percentiles etc)

2009-07-12 Thread Joe Conway
ing to use them with. For instance, there's an example of PL/Perl versions available embedded in the code here: This stuff is pretty trivial to do with PL/R Joe -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs

Re: [BUGS] Nonexistent pid in pg_locks

2009-07-08 Thread Joe Uhl
On Jul 8, 2009, at 3:42 PM, Tom Lane wrote: Joe Uhl writes: On Jul 8, 2009, at 3:00 PM, Tom Lane wrote: Hmm. In any case that shouldn't have led to a lock left hanging. Assuming that it was a regular and not autovacuum, do you know what the exact command would have been? (In parti

Re: [BUGS] Nonexistent pid in pg_locks

2009-07-08 Thread Joe Uhl
On Jul 8, 2009, at 3:00 PM, Tom Lane wrote: Joe Uhl writes: On Jul 8, 2009, at 2:41 PM, Tom Lane wrote: What exactly did you do to "kill" those processes? Do you remember whether any of them happened to have PID 10453? I used "kill pid1 pid2 pid3 ..." (no -9) as root.

Re: [BUGS] Nonexistent pid in pg_locks

2009-07-08 Thread Joe Uhl
On Jul 8, 2009, at 2:41 PM, Tom Lane wrote: Joe Uhl writes: I had to bounce an OpenMQ broker this morning (this database is the DB for an OpenMQ HA setup) and couldn't get it to reconnect to postgres. On inspecting the database I found dozens of vacuum processes waiting (I have a cro

[BUGS] Nonexistent pid in pg_locks

2009-07-08 Thread Joe Uhl
or everything including our main product database (hundreds of transactions/sec, 100's of GB of data) for years and have never seen this scenario. Any help is appreciated, I can easily provide any additional information that may be helpful. Joe Uhl -- Sent via pgsql-bugs mailing lis

Re: [BUGS] BUG #4876: author of MD5 says it's seriously broken - hash collision resistance problems

2009-06-24 Thread Joe Conway
s used for HMAC. It has the added advantage that there is no direct storage of the password itself, even in hashed form. Joe -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs

Re: [BUGS] BUG #4599: bugfix for contrib/dblink module

2009-01-02 Thread Joe Conway
] dblink.c fix In dblink.c:785 2nd argument for dblink_get_result(text,bool) is referenced as 'PG_GETARG_BOOL(2)', must be 'PG_GETARG_BOOL(1)'. This looks like a correct assessment. Will fix... Thanks! Joe -- Sent via pgsql-bugs mailing list (pgsql-bugs@pos

Re: [BUGS] Bug #3924: Create Database with another encoding as the encoding from postgres

2008-10-30 Thread Joe
et The New Boss, Same as the Old Boss" (with the quotes being part of the title) sorts among the M titles, and not at the beginning, before the A titles. As I understand, 8.4 will include LC_COLLATE support at the database rather than cluster level which should help in this regard. Joe --

Re: [BUGS] Bug #3924: Create Database with another encoding as the encoding from postgres

2008-10-30 Thread Joe
locale remains en_US.iso88591? And, at least in theory, if a non-LATIN1 character (like 0x92) is presented to the converted database, will it be stored as is or silently transformed (or will an error be issued)? Joe -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make chang

[BUGS] Bug #3924: Create Database with another encoding as the encoding from postgres

2008-10-30 Thread Joe
has both en_US.iso88591 and en_US.utf8 installed but operates mostly with the former)? As an aside, how can one find the status of a Postgres bug? Joe -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs

Re: [BUGS] Strange behavior for query comparing 8.2.5 and 8.3.0

2008-09-10 Thread Joe Uhl
Possibly, I saw that thread but may not have dug into the content deeply enough. My apologies if this is the case, i'll check it out further. On Sep 10, 2008, at 3:38 PM, Tom Lane wrote: Joe Uhl <[EMAIL PROTECTED]> writes: We have a query that returns a different result i

[BUGS] Strange behavior for query comparing 8.2.5 and 8.3.0

2008-09-10 Thread Joe Uhl
ers. Please let me know if I can provide any additional information. Any help is greatly appreciated. I apologize if this is a known issue, I was unable to turn up a match though struggled to figure out which search terms might yield a result. Joe -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs

Re: [BUGS] BUG #4203: perform dblink() in begin/exception returns wrong SQLSTATE code

2008-05-27 Thread Joe Conway
should probably try a bit harder to propagate the original error fields. I'm inclined to think that it should propagate sqlstate/message/detail/hint verbatim, and indicate the fact that this happened on a dblink connection as CONTEXT, rather than structuring the ereport the way it does now. J

Re: [BUGS] BUG #3983: pgxs files still missing in win32 install (8.3.1)

2008-04-14 Thread Joe Conway
nd is unable to load a DLL that plr.dll depends on. Again, the "depends" tool can hopefully show you what's missing there. That's what I was originally thinking (R.dll), but now I suspect the exported functions is probably the issue. I'll check this out when I get ho

Re: [BUGS] BUG #3983: pgxs files still missing in win32 install (8.3.1)

2008-04-13 Thread Joe Conway
ds successfully) and the MSVC Postgres. Joe p.s. actual output below 8<-- Welcome to psql 8.3.1, the PostgreSQL interactive terminal. Type: \copyright for distribution terms \h for help with SQL commands \? for help with psql commands \g

Re: [BUGS] BUG #3983: pgxs files still missing in win32 install (8.3.1)

2008-04-06 Thread Joe Conway
s that to be expected? If so, can you give me pointers (either direct guidance or literal URLs) on how to build postgres and related extensions with VC++? Thanks, Joe -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs

Re: [BUGS] BUG #3852: Could not create complex aggregate

2008-01-07 Thread Joe Conway
ially since this is the first time anyone has complained. Did you want me to work on this? I could probably put some time into it this coming weekend. Joe ---(end of broadcast)--- TIP 9: In versions below 8.0, the planner will ignore your desire to

[BUGS] Postgresql out-of-memory error

2006-11-15 Thread Joe Malicki
used (for this data they are much faster and also don't crash for large datasets). Mostly I just want to figure out why postgresql is ever returning out-of-memory rather than using the disk as a backing store. Is my database misconfigured, or is this a bug? I would think th

Re: [BUGS] BUG #2694: Memory allocation error when selecting array

2006-10-29 Thread Joe Conway
Tom Lane wrote: Joe Conway <[EMAIL PROTECTED]> writes: Sorry for the slow response -- I'm at the airport just heading home from a marathon 30 day business trip. Yow. Hope you get some time off... Yeah, I just took a week. Next week I'm back to work and the week after

Re: [BUGS] BUG #2694: Memory allocation error when selecting array

2006-10-18 Thread Joe Conway
times. The problem is in ExecEvalArray, which computes the dimension of the result as [1:2] even though there are no elements to put in it. Joe, what do you think about this? Offhand I think that the only workable definition is that this case yields another zero-dimensional array, but maybe there is

Re: [BUGS] BUG #2600: dblink compile with SSL missing libraries

2006-08-30 Thread Joe Conway
;--with-openssl" all the time and have never had a problem. Can anyone comment on the appropriate Makefile changes for this? Thanks, Joe ---(end of broadcast)--- TIP 9: In versions below 8.0, the planner will ignore your desire to cho

Re: [BUGS] Large join runs out of memory in 8.1

2006-03-15 Thread Joe Sunday
On Wed, Mar 15, 2006 at 01:10:41PM -0500, Tom Lane wrote: > Joe Sunday <[EMAIL PROTECTED]> writes: > > On Tue, Mar 14, 2006 at 11:29:57PM -0500, Tom Lane wrote: > >> What I'd try is first letting the problem case run for a bit, then > >> stopping it wi

Re: [BUGS] Large join runs out of memory in 8.1

2006-03-15 Thread Joe Sunday
1 0x100ef8a8 in ExecProcNode () #12 0x100edea8 in ExecutorRun () #13 0x1018519c in ProcessQuery () #14 0x10185850 in PortalRun () #15 0x1018084c in exec_simple_query () #16 0x101825b0 in PostgresMain () #17 0x1015510c in ServerLoop () #18 0x10155d80 in PostmasterMain () #19 0x101101e8 in main ()

Re: [BUGS] Large join runs out of memory in 8.1

2006-03-14 Thread Joe Sunday
On Tue, Mar 14, 2006 at 11:13:38PM -0500, Tom Lane wrote: > Joe Sunday <[EMAIL PROTECTED]> writes: > > On Tue, Mar 14, 2006 at 03:56:51PM -0500, Tom Lane wrote: > >> This error should result in dumping a list of per-context memory usage > >> into the postmaste

Re: [BUGS] Large join runs out of memory in 8.1

2006-03-14 Thread Joe Sunday
On Tue, Mar 14, 2006 at 03:56:51PM -0500, Tom Lane wrote: > Joe Sunday <[EMAIL PROTECTED]> writes: > > 8.1 grows until it uses about 4 GB, at which point it dies with the > > following error: > > ERROR: out of memory > > DETAIL: Failed on request of size 8224.

[BUGS] Large join runs out of memory in 8.1

2006-03-14 Thread Joe Sunday
mp table. Memory according to top never goes much above 25 megs in use during the query. 8.1 grows until it uses about 4 GB, at which point it dies with the following error: ERROR: out of memory DETAIL: Failed on request of size 8224. --Joe -- Joe Sunday <[EMAI

Re: [BUGS] BUG #1532: typecast problem between arrays of an int8

2005-03-24 Thread Joe Conway
p's caller to provide the state storage array_map wants, instead of doing it locally. Both of the existing callers can easily incorporate array_map's state data into their own state structs. Joe, you have any better ideas? That certainly looks like the least invasive fix for 8.0.x and

[BUGS] CC Date format code defaults to current centry

2005-03-13 Thread Joe Brown
joe=> select to_date('19450323','CCYYMMDD'); to_date ---- 2045-03-23 (1 row) joe=> select to_date('19450323','MMDD'); to_date 1945-03-23 (1 row) I thought the former would be "more" correct. But it seems I a

Re: [BUGS] BUG #1466: #maintenace_work_mem = 16384

2005-02-08 Thread Joe Brown
t it by hand to see the output. Tom Lane wrote: "Joe Brown" <[EMAIL PROTECTED]> writes: Uncommenting maintenace_work_mem = 16384 caused the server immediately stop after start. You apparently managed to change the spelling while uncommenting; the actual line in th

[BUGS] BUG #1466: #maintenace_work_mem = 16384

2005-02-07 Thread Joe Brown
The following bug has been logged online: Bug reference: 1466 Logged by: Joe Brown Email address: [EMAIL PROTECTED] PostgreSQL version: 8.0.0.0 Operating system: Windows XP Description:#maintenace_work_mem = 16384 Details: I was attempting to reduce the already

Re: [BUGS] BUG #1313: problems with array syntax parsing in SQL

2004-11-12 Thread Joe Conway
TE TABLE regression=# insert into test values ('{"A", "B" }'); INSERT 155428 1 regression=# select * from test; f1 --- {A,B} (1 row) regression=# insert into test values ('{ }'); INSERT 155429 1 regression=# select * from test; f1 --- {A,B} {} (2 rows) Joe ---(end of broadcast)--- TIP 8: explain analyze is your friend

Re: [BUGS] casting strings to multidimensional arrays yields strange

2004-07-27 Thread Joe Conway
a look at it next week. Joe ---(end of broadcast)--- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly

Re: [BUGS] BUG #1175: insert rule action with defaults

2004-06-27 Thread Joe Carlson
le. This is more of a conceptual quibble I have at this point. I think the standard answer should be "do not use serial columns in any insert rule". I can see problems in cases other than copying inserted data to another table with rules. thanks for the good work, joe

Re: [BUGS] Maybe a bug found with nextval() function

2004-06-05 Thread Joe Sunday
primary key id for my "recipe" table: > >SELECT NEXTVAL('recipe_id_seq') FROM receipt; You're going to get a value for every row in receipt, which is what you're seeing. What you want is SELECT NEXTVAL( 'recipe_id_seq'); --Joe -- Joe

Re: [BUGS] BUG #1107: Missing feature: interval <-> numeric quantity conversion

2004-03-18 Thread Joe Sunday
; the numbers when need arises is MUCH faster than subtracting timestamps and > parsing the result of such a subtraction. > > Note: The 'date' data type does not have this problem. The result of two > dates subtraction is an integer (not 'interval') which I

Re: [BUGS] Glitch: cannot use Arrays with Raise Notice

2004-03-11 Thread Joe Conway
Josh Berkus wrote: Bug: Cannot Use Arrays with Raise Notice in PL/pgSQL. Version Tested: 7.4.1 Severity: Annoyance Description: Attempting to pass an array element to Raise Notice in PL/pgSQL will produce a parse error: I can reproduce this with cvs tip -- I'll check into it. Thanks,

Re: [BUGS] NULL in arrays

2004-01-15 Thread Joe Conway
Dennis Bjorklund wrote: On Thu, 15 Jan 2004, Joe Conway wrote: Additionally, this behavior was discussed during the 7.4 development and beta cycles on at least a couple occassions -- that would have been the time to complain, not now. Well, I will complain whenever I see something I don't

Re: [BUGS] NULL in arrays

2004-01-15 Thread Joe Conway
cases like this. But I don't see an inherent reason why "raise an error" is better than "return a null array". In fact, the above referenced thread shows a scenario where the former behavior is unpleasant. I think Joe Conway is planning to tackle that underlying misfeatur

Re: [BUGS] BUG #1007: error during installation

2003-12-14 Thread Joe Conway
tudio .NET 2003\Common7\IDE". More than likely you neglected to run vsvars32.bat to set up your environment correctly. HTH, Joe ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster

Re: [BUGS] Error compiling PostgreSQL 7.4 for Fedora Core 1

2003-12-09 Thread Joe Conway
ble-nls \ --enable-debug \ --enable-cassert \ --enable-depend \ --with-openssl \ --with-pam \ --enable-integer-datetimes \ --with-krb5=/usr/kerberos \ --with-includes=/usr/include/et/ The only adjustment from my RH9 box was the last line. Without it com_err.h wasn't being found.

Re: [BUGS] Backslash Bug in ARE Class-Shorthand Escape?

2003-12-06 Thread Joe Conway
Joe Conway wrote: David Fetter wrote: I have a little puzzlement. In the first select, I double the backslash and return true. In the second, I don't and get false. Have I missed something important in the docs? I don't know if it is clear in the docs anywhere wrt regex, but the stri

Re: [BUGS] Backslash Bug in ARE Class-Shorthand Escape?

2003-12-06 Thread Joe Conway
d == d). The basic rule at work here is you need to double up all backslashes. HTH, Joe ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster

Re: [BUGS] BUG #1000: Testing new bugs form.

2003-12-04 Thread Joe Conway
OK as I'm not currently subscribed. Cheers, Dave. Got it. Joe ---(end of broadcast)--- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])

Re: [BUGS] bytea, index and like operator

2003-12-03 Thread Joe Conway
c\006 | f | t \002\003abc\006 | f (5 rows) select * from test where b like '\001%'; This is weird. I'm sure it worked at one time -- will research. Joe ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

[BUGS] netmask(inet) function broken in 7.4

2003-11-30 Thread Joe Sunday
POSTGRESQL BUG REPORT TEMPLATE Your name : Joe Sunday Your email address : [EMAIL

Re: [BUGS] failed to lookup type 0

2003-11-29 Thread Joe Conway
tions of any trigger functions (particularly any "on delete" triggers), and if possible a complete reproducible example. Joe ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Re: [HACKERS] [BUGS] postgresql-7.4RC1 - unrecognized privilege type

2003-11-08 Thread Joe Conway
guish between catalog version, meaning something structural has changed, and catalog-data version which is correctible by running a script. Joe ---(end of broadcast)--- TIP 7: don't forget to increase your free space map settings

Re: [HACKERS] [BUGS] Autocomplete on Postgres7.4beta5 not working?

2003-10-28 Thread Joe Conway
was actually a nice behavior. I found it similarly irritating at first, and it continues to irritate me. But that may be because I use system tables more frequently than the average Joe ;-) I guess I'd be happy to see tab completion reinstated for system tables (except toast tables as Tom sugge

Re: [BUGS] Bug Report

2003-10-08 Thread Joe Conway
printf flags, it causes big problems. This was fixed for 7.3.4 (or so I thought); see: http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/utils/adt/varlena.c.diff?r1=1.92&r2=1.92.2.1 Are you sure you don't have something earlier? Was does select version();

Re: [BUGS] PG 7.4 BETA 3: Bug in NULL arrays updating

2003-09-23 Thread Joe Conway
d element. Not sure if this works pre-7.4 though -- I know I made some changes related to this, but I forget the exact details. Joe ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster

Re: [BUGS] Database Grants Bug

2003-08-18 Thread Joe Conway
pace where nspname like ''pg\_%'') AND pg_catalog.pg_table_is_visible(c.oid) LOOP sql := ''grant all on '' || rel.relname || '' to '' || $1; RAISE NOTICE ''%'', sql; EXECUTE sql; END LOOP; RETURN ''OK&#

Re: [BUGS] Database Grants Bug

2003-08-17 Thread Joe Conway
mporary tables to be created while using the database. Are these not working? HTH, Joe ---(end of broadcast)--- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match

Re: [BUGS] error in docs

2003-08-16 Thread Joe Conway
ce distribution." I have no idea how to install contrib/array using debian's package manager, but that's what you need to do. HTH, Joe ---(end of broadcast)--- TIP 3: if posting/reading through Usenet, please send an appropriate

Re: [BUGS] bug in the concatenation of the selection...

2003-06-08 Thread Joe Conway
Andres Cuevas wrote: If data1 or data2 are NULL the request is NULL Which is the correct behavior, not a bug. See: http://techdocs.postgresql.org/guides/BriefGuideToNulls HTH, Joe ---(end of broadcast)--- TIP 5: Have you checked our extensive

Re: [BUGS] Bug #915: problem with returning setof with double precision

2003-03-21 Thread Joe Conway
l_service service%ROWTYPE; BEGIN SELECT INTO l_service service.* FROM service WHERE service.service_id = l_service_id; RETURN l_service; END; ' LANGUAGE 'plpgsql'; Joe ---(end of broadcast)--- TIP 6: Have you searched our list archives? http://archives.postgresql.org

Re: [BUGS] "ERROR: Query-specified return tuple and actual function

2003-01-13 Thread Joe Conway
Tom Lane wrote: > Joe Conway <[EMAIL PROTECTED]> writes: >> Hmmm, looks like nodeFunctionscan.c:tupledesc_mismatch needs to be >> taught about attisdropped. I'll submit a patch this evening if no >> one else gets to it first. > > Actually, I believe I delibe

Re: [BUGS] "ERROR: Query-specified return tuple and actual function

2003-01-13 Thread Joe Conway
x27;ll submit a patch this evening if no one else gets to it first. Thanks for the report. Joe ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster

Re: [BUGS] ON DELETE triggers don't work as documented

2002-12-11 Thread Joe Conway
OLD Data type RECORD; variable holding the old database row for UPDATE/DELETE operations in ROW level triggers. It is perhaps confusing, but probably necessary so that a single function can handle inserts, updates, and deletes (see TG_OP). Joe ---(end of broa

Re: bogus varno EXPLAIN bug (was Re: [BUGS] Explain analyze gives

2002-12-06 Thread Joe Conway
HERE clause. I was struggling as to where to be looking. BTW, it was still there after I sync'd up with cvs last night. Joe ---(end of broadcast)--- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])

bogus varno EXPLAIN bug (was Re: [BUGS] Explain analyze gives bogusvarno for dblink views)

2002-12-05 Thread Joe Conway
1915 #17 0x0811cf9d in ServerLoop () at postmaster.c:1002 #18 0x0811c915 in PostmasterMain (argc=3, argv=0x825cc78) at postmaster.c:781 #19 0x080f930f in main (argc=3, argv=0xb7e4) at main.c:209 Note the line: #8 0x080ca75a in show_upper_qual (qual=0x82d1d50, qlabel=0x81df318 "Filter"

Re: [BUGS] Creating server-side functions: one simple error

2002-10-13 Thread Joe Conway
elein (by way of elein ) wrote: > This will not work if there is no EOS on the data portion of the > string. Text fields are not usually stored with the EOS on them, > are they? Yes, the TEXT data type is NULL terminated. Joe ---(end of

Re: [BUGS] user name lost from dictionary

2002-10-10 Thread Joe Conway
-< What is it? > > Is that a bug? It looks like someone dropped user_fomacao_des. What happens if you run: select * from pg_user; ? You can fix this by doing: CREATE USER user_fomacao_des WITH SYSID 131 PASSWORD 'password'; HTH, Joe ---(end of br

Re: [BUGS] Creating server-side functions: one simple error

2002-10-09 Thread Joe Conway
unctionCall1(textout, PointerGetDatum(textp))) then you can do, e.g. char *cnum = GET_STR(PG_GETARG_TEXT_P(0)); BTW, there are lots of good examples of C functions in contrib. HTH, Joe ---(end of broadcast)--- TIP 1: subscribe and unsubscribe c

Re: [BUGS] some other backend died abnormally

2002-09-22 Thread Joe Conway
table series of actions causes the problem? Is there a core file and have you looked at it in a debugger? Joe ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Re: [BUGS] Schemas not available for pl/pgsql %TYPE....

2002-09-05 Thread Joe Conway
I think this is probably a must do item for 7.3. Any further guidance or thoughts? Thanks, Joe ---(end of broadcast)--- TIP 6: Have you searched our list archives? http://archives.postgresql.org

Re: [BUGS] Bug #728: Interactions between bytea and character encoding

2002-08-13 Thread Joe Conway
without a fe/be protocol change, so I'd guess it's a 7.4 issue. But, if there is a way to do it now, and someone gives me a clue how to proceed, I'll try to get a patch together. Joe ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Re: [BUGS] Bug #736: Old bug is back!! Drop database bug

2002-08-12 Thread Joe Conway
ll the previous tables are back with data in > it!! Try connecting to the template1 database, and then do \dt. Do you see the tables in question? Joe ---(end of broadcast)--- TIP 2: you can get off all lists at once with the unregister command

Re: [BUGS] Bug #728: Interactions between bytea and character encoding

2002-08-04 Thread Joe Conway
Joe Conway wrote: > Bruce Momjian wrote: > >> Does this mean we don't have to esacpe >0x7f when inputting bytea >> anymore? > > > I seem to remember that bytea data was run through the multibute code > for some reason, and I don't recall seeing th

Re: [BUGS] Bug #728: Interactions between bytea and character encoding

2002-08-03 Thread Joe Conway
. I'll search the archives for the thread. Joe ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Re: [BUGS] Bug #728: Interactions between bytea and character encoding

2002-08-03 Thread Joe Conway
Tom Lane wrote: > Ah. So the issue is that ANALYZE tries to do textin(byteaout(...)) > in order to produce a textual representation of the most common value > in the BYTEA column, and apparently textin feels that the string > generated by byteaout is not legal text. While Joe s

  1   2   >