~aglenyoung/+junk/postgres-9.3-dtrace

« back to all changes in this revision

Viewing changes to src/pl/plpython/plpy_elog.c

  • Committer: Package Import Robot
  • Author(s): Martin Pitt, Christoph Berg, Martin Pitt
  • Date: 2013-06-26 15:13:32 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20130626151332-p34yjpn0txbdsdzd
Tags: 9.3~beta2-1
[ Christoph Berg ]
* hurd-i386: Ignore testsuite failures so we have a working libpq5 (they
  don't implement semaphores so the server won't even start).
* Mark postgresql-9.3 as beta in the description, suggested by Joshua D.
  Drake.

[ Martin Pitt ]
* New upstream release 9.3 beta2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
342
342
static void
343
343
PLy_get_spi_sqlerrcode(PyObject *exc, int *sqlerrcode)
344
344
{
345
 
        PyObject        *sqlstate;
346
 
        char            *buffer;
 
345
        PyObject   *sqlstate;
 
346
        char       *buffer;
347
347
 
348
348
        sqlstate = PyObject_GetAttrString(exc, "sqlstate");
349
349
        if (sqlstate == NULL)