Re: Searching Postgresql Database with psycopg2

2018-02-01 Thread David Kohn
Because you're only getting the first row of the query result, even though the cursor that contains the result (should be server side in this case) does have more rows. On Thu, Feb 1, 2018 at 3:50 PM brandon wallace wrote: > I have created a function to search a Postgresql database but it only >

Re: Searching Postgresql Database with psycopg2

2018-02-01 Thread Rob Sargent
> On Feb 1, 2018, at 1:50 PM, brandon wallace wrote: > > I have created a function to search a Postgresql database but it only pulls > up the first row of the database no matter what value I search for. Why would > it only pull up the first row of the database? I am using Psycopg2 2.6 and > Py